Print Page | Close Window

CXTPTabManagerItem::SetColor

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=19055
Printed Date: 23 November 2024 at 10:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabManagerItem::SetColor
Posted By: cwlee
Subject: CXTPTabManagerItem::SetColor
Date Posted: 11 October 2011 at 8:14am
Hi,
 
I tried to change color to the tab using the SetColor method in CXTPTabManagerItem. However, it doesn't change at all. Does that has to do with the Appearance set in the CXTPTabPaintManager?
 

CXTPTabManagerItem* p_item = pToolBar->InsertCategory(0, toolbar_editor.GetName(), &dummy, 0);

p_item->SetColor(65535);
 
How can I change the color of the tab?
 
Thanks,
Lee



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