![]() |
About EnableFrameTheme and Skin |
Post Reply ![]() |
Author | |
tebek ![]() Groupie ![]() Joined: 24 October 2009 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
tebek ![]() Groupie ![]() Joined: 24 October 2009 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
Thank you. It is applied well. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |