Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - About EnableFrameTheme and Skin
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

About EnableFrameTheme and Skin

 Post Reply Post Reply
Author
Message
tebek View Drop Down
Groupie
Groupie


Joined: 24 October 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote tebek Quote  Post ReplyReply Direct Link To This Post Topic: About EnableFrameTheme and Skin
    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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tebek View Drop Down
Groupie
Groupie


Joined: 24 October 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote tebek Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2009 at 8:31pm

Thank you. It is applied well.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.