Print Page | Close Window

Colored Tabs

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=4123
Printed Date: 12 December 2024 at 5:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Colored Tabs
Posted By: mzuber
Subject: Colored Tabs
Date Posted: 03 May 2006 at 11:29am

I have been trying in vain to set the color of individual tabs. While I did find a method to access the different CXTPTabManagerItems, setting the color with SetColor didn't work, because the tabs were set back to the default color( as specified by the TabManager's ColorSet ).  Likewise, if I change the CXTPTabPaintManager's ColorSet, then it changes the color of all of the tabs.  Is there a way, without modifying the codejock classes, to change the colors of individual tabs to specific RGB values?

Thanks for any help you can provide.




Replies:
Posted By: Oleg
Date Posted: 03 May 2006 at 4:00pm

Hello,

Try to call pPane->SetItemColor(..).   but guess it will work only for Office2003 theme with OneNote enabled.



-------------
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