Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How change the theme ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How change the theme ?

 Post Reply Post Reply
Author
Message
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post Topic: How change the theme ?
    Posted: 03 July 2008 at 11:16pm

Hello,

I have added Office2007Blue theme in my project.So the ribbon bar,status bar,view,etc all appearing blue.
I have only included Office2007Blue.rc file in my projects .rc file. On the mainframes create function i have called the settheme() function like this -

XTPPaintManager()->SetTheme(xtpThemeRibbon);

Also i have added pRibbonBar->EnableFrameTheme();
In Your sample Mdi application you are running the .ini file.I have not executed any .ini file.
Currently no problem is there.By default, the Office2007Blue theme is applied on the screen.
But if i have to change the theme from Office2007Blue to Office2007Black,What i will have to do?
I have included Office2007Black.rc in my projects .rc file.But the black colored theme is not appearing.
 
Please let me know,what i will need to do,to change the theme from blue to black.
 
Thanks And Regards,
Vijay.
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: 04 July 2008 at 1:26am
Hi,
 
Just copy code from our sample.
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.031 seconds.