![]() |
Changing one color in a skin changes another color |
Post Reply ![]() |
Author | |
gautambjain ![]() Newbie ![]() Joined: 03 July 2008 Location: India Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 12 July 2008 at 12:23am |
Hello Dear Support and Members, Please help! I successfully changed the "BtnFace" color of Office2007.cjstyle skin. And it is working very well. But the highlight color on toolbar and menu have automatically changed to brownish. I used to be orange color in the original Office2007 skin. I have rechecked the modified skin. In the skin builder, it shows orange for toolbar and menu highlight color. But when I run the program, it shows brownish orange. See the image below. Please help. IMPORTANT NOTE: 1) This toolbar is in a dialog box. 2) The toolbar and menus were created using CXTPOffice2003Theme. I could not use CXTPOffice2007Theme because it showed the toolbar and menus in plain black and white color. See the below image if I use CXTPOffice2007Theme for the toolbar in the dialog box using the below code To code used to set the toolbar to the dialog box is below:
Please help. There are 2 issues above: 1. Brownish color 2. Black and white color on using CXTPOffice2007Theme Thanks. |
|
![]() |
|
gautambjain ![]() Newbie ![]() Joined: 03 July 2008 Location: India Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Please reply to the above post |
|
![]() |
|
Smucker ![]() Senior Member ![]() ![]() Joined: 02 February 2008 Status: Offline Points: 156 |
![]() ![]() ![]() ![]() ![]() |
For #1, Codejock generates additional colors based on the colors you
set. The 3D highlight color is the bright edge (the orange you can see
as a single line on the top and left of the button).
For #2, you're probably linking statically and not including the rc files with the images required for the Office 2007 theme. In your application.rc2 file, include: #include <XTToolkitPro.rc> #include "Styles\Office2007Blue\Office2007Blue.rc" #include "Styles\Office2007Aqua\Office2007Aqua.rc" #include "Styles\Office2007Black\Office2007Black.rc" #include "Styles\Office2007Silver\Office2007Silver.rc" Hope this helps! PS. Mixing skins and themes involves a lot of trial and error! ![]() |
|
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)
Platform: Windows 200x/XP/Vista/Win7 (32/64 bit) Language: Visual C++ 9.0 (Studio 2008) |
|
![]() |
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 |