Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC
  New Posts New Posts RSS Feed - Setting a Dialog theme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedSetting a Dialog theme

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


Joined: 14 March 2008
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shares Quote  Post ReplyReply Direct Link To This Post Topic: Setting a Dialog theme
    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
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post 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
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: 18 April 2008 at 12:51am
Hi,
Also check SkiNFramework samples.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.125 seconds.