Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Task Panel colors
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Task Panel colors

 Post Reply Post Reply
Author
Message
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Topic: Task Panel colors
    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

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: 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
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2005 at 11:03am

Thanks Oleg,

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

- James

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: 26 May 2005 at 2:21pm
yes
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post 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.
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: 05 July 2005 at 11:47pm

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

2005-07-05_234548_SuiteTest.zip 

 

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post 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.

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.141 seconds.