![]() |
CXTPTabControl Colors... |
Post Reply ![]() |
Author | |
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
g_j_a_i_n ![]() Groupie ![]() ![]() Joined: 27 August 2005 Status: Offline Points: 94 |
![]() ![]() ![]() ![]() ![]() |
Thanks for sharing. Sharing is great. It saved my time. Regards, GJ |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |