Print Page | Close Window

Setting a Dialog theme

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=10287
Printed Date: 28 September 2024 at 7:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Setting a Dialog theme
Posted By: shares
Subject: Setting a Dialog theme
Date Posted: 17 April 2008 at 6:31pm
Hello, my application uses the xtpThemeRibbon, it looks fine. But all my dialogs look like regular windows dialogs.

How can I get my apps dialogs to look similar to my ribbon theme application?

Thanks



Replies:
Posted By: younicke
Date Posted: 17 April 2008 at 11:08pm
you have to use the EnableOffice2007FrameHandle method of the commandbars.

for example in the load event of your dialog you could put

frmMain.CommandBars.EnableOffice2007FrameHandle Me.hwnd

hopes this helps


Posted By: Oleg
Date Posted: 18 April 2008 at 12:51am
Hi,
Also check SkiNFramework samples.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net