Print Page | Close Window

CXTPTabControl Colors...

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=1390
Printed Date: 22 February 2025 at 8:57am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabControl Colors...
Posted By: ddlittle
Subject: CXTPTabControl Colors...
Date Posted: 09 November 2004 at 4:37pm

Anybody have any idea how to control the color that gets painted behind the tabs in a CXTPTabControl?  I can turn it off (which makes it black) using the m_bFillBackground=FALSE attribute, but can't seem to find a place to set the color. 

Any ideas?

Thanks!

- David Little
- Houston, TX




Replies:
Posted By: ddlittle
Date Posted: 09 November 2004 at 5:03pm

Please ignore me... I found it.  In case anybody wants to try it, use:

GetPaintManager()->GetColorSet()->m_clrHeaderFace.SetC olors(RGB(255,0,0),RGB(0,0,255));

That gradient is ugly (Red into Blue), just replace it with your own colors -- the lighter color goes first.

Regards,

- David

 

 



Posted By: g_j_a_i_n
Date Posted: 27 August 2005 at 2:21am

Thanks for sharing. Sharing is great. It saved my time.

Regards,
GJ



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