Print Page | Close Window

How change the theme ?

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=11303
Printed Date: 01 March 2025 at 12:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How change the theme ?
Posted By: vijaymahajan
Subject: How change the theme ?
Date 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.



Replies:
Posted By: Oleg
Date Posted: 04 July 2008 at 1:26am
Hi,
 
Just copy code from our sample.


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



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