Print Page | Close Window

custom colours for Tabs in OneNote style

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1153
Printed Date: 06 November 2025 at 2:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: custom colours for Tabs in OneNote style
Posted By: fredwobus
Subject: custom colours for Tabs in OneNote style
Date Posted: 07 September 2004 at 8:56am
Hi,

I am using the CXTPTabControl . When using the OneNote colorset I would like to be able to define my own colors.

Can anyone help me how to set my own OneNote Tab colours ?


Thanks, Fred



Replies:
Posted By: Sven
Date Posted: 07 September 2004 at 3:43pm
Try to overwrite CXTPTabClientWnd::GetItemColor(CXTPTabManagerIte m* pItem).


Posted By: fredwobus
Date Posted: 08 September 2004 at 4:25am

Thanks for the hint Big smile

I derived my own colorset from CColorSetOffice2003, where I could overload

virtual COLORREF GetItemColor(CXTPTabManagerItem* pItem);

Thanks a lot Sven.




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