Print Page | Close Window

Task Panel colors

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2270
Printed Date: 17 November 2024 at 3:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Task Panel colors
Posted By: JamesH
Subject: Task Panel colors
Date Posted: 23 May 2005 at 4:15pm

Do the custom task panel colors only apply to certain themes?

If I have the following code:

 spTaskPanel->VisualTheme = XtremeSuiteControls::xtpTaskPanelThemeNativeWinXP; 

spTaskPanel->ColorSet->SpecialGroupCaptionTextSpecial = 0x551122;

 spTaskPanel->ColorSet->SpecialGroupCaptionDark = 55;
 spTaskPanel->ColorSet->SpecialGroupCaptionLight = 0x223344;

 spTaskPanel->ColorSet->BackgroundDark = 0xAABB22;
 spTaskPanel->ColorSet->BackgroundLight = 0x4411DD;

 spTaskPanel->ColorSet->NormalGroupCaptionDark = 0xAABB22;
 spTaskPanel->ColorSet->NormalGroupCaptionLight = 0xAAAA22;
 spTaskPanel->ColorSet->NormalGroupClient = 0xAAAA22;

 spTaskPanel->ColorSet->NormalGroupCaptionTextNor mal = 0xAABB44;
 spTaskPanel->ColorSet->NormalGroupCaptionTextHot = 0x33BB44;

It looks like this:

But if I change it to be the Whidbey theme

 spTaskPanel->VisualTheme = XtremeSuiteControls::xtpTaskPanelThemeToolboxWhidbey;

 spTaskPanel->ColorSet->SpecialGroupCaptionTextSp ecial = 0x551122;

 spTaskPanel->ColorSet->SpecialGroupCaptionDark = 55;
 spTaskPanel->ColorSet->SpecialGroupCaptionLight = 0x223344;

 spTaskPanel->ColorSet->BackgroundDark = 0xAABB22;
 spTaskPanel->ColorSet->BackgroundLight = 0x4411DD;

 spTaskPanel->ColorSet->NormalGroupCaptionDark = 0xAABB22;
 spTaskPanel->ColorSet->NormalGroupCaptionLight = 0xAAAA22;
 spTaskPanel->ColorSet->NormalGroupClient = 0xAAAA22;

 spTaskPanel->ColorSet->NormalGroupCaptionTextNor mal = 0xAABB44;
 spTaskPanel->ColorSet->NormalGroupCaptionTextHot = 0x33BB44;

It looks like this:

 

Why do most of the colors not apply to that theme?  Especially the 'special' ones?  If I want the special group to be a different color with the Whidbey theme how do I do that?

Thanks,

-James




Replies:
Posted By: Oleg
Date Posted: 26 May 2005 at 1:52am
Thank you, you was right, color was predefined and can't be changed for ToolBox/ToolBoxWhidbey theme. we fixed it for 9.70.

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


Posted By: JamesH
Date Posted: 26 May 2005 at 11:03am

Thanks Oleg,

Does that include the ability to have 'special' panes display in a different color?

- James



Posted By: Oleg
Date Posted: 26 May 2005 at 2:21pm
yes

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


Posted By: JamesH
Date Posted: 05 July 2005 at 5:45pm
This doesn't seem to be fixed in 9.7 ... if I have the xtpTaskPanelThemeToolboxWhidbey theme specified my task panel is aways the same color regardless of if the special property is set or not.


Posted By: Oleg
Date Posted: 05 July 2005 at 11:47pm

Are you sure you changed progid? I can't reporduce it check sample:

http://forum.codejock.com/uploads/oleg/2005-07-05_234548_SuiteTest.zip - 2005-07-05_234548_SuiteTest.zip  

 

 



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


Posted By: JamesH
Date Posted: 06 July 2005 at 5:10pm

I don't have a copy of VB so wasn't able to try your sample but I reviewed my WTL code and found the problem.

I had set the special color to something close to black (which was obvious in other themes, but not with the whidbey one)... everything looks like it's working.  Sorry for the false alarm.




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