Print Page | Close Window

About EnableFrameTheme and Skin

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15501
Printed Date: 19 April 2024 at 10:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: About EnableFrameTheme and Skin
Posted By: tebek
Subject: About EnableFrameTheme and Skin
Date Posted: 30 October 2009 at 1:59am
I created ribbon bar in dialog box.
and activate it with EnbleFrameTheme()
but It seems the default gray background of the dialog box.
 
So I've apoplied the skin, office 2007.
That gray color was changed without using EnableFrameTheme()
 
By proceeding further, I use EnableFrameTheme() for chang basic frame.
but... After this apply, that color was restored to gray color. ;-(
 
EnableFrameTheme seems to reset office2007 skin.
 
I want skin applied color.
What should I do?



Replies:
Posted By: Oleg
Date Posted: 30 October 2009 at 8:29am
Hi,
 
Yes there is such issue :( Skinfaramework and Ribbon make same thing with frame, so SkinFramework removes dialog from skinning if RibbonBar is used.
 
you can manually catch WM_CTLCOLOR message and return XTPSkinManager()->GetMetrics()->m_brushDialog brush.


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


Posted By: tebek
Date Posted: 01 November 2009 at 8:31pm

Thank you. It is applied well.




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