Changing the text color within a tab. |
Post Reply |
Author | |
kentse
Newbie Joined: 29 October 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 13 November 2008 at 2:50pm |
Can someone please tell me how to change the color of the text within the tab below?
Thanks!
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Is it Office2007 theme ?
try GetPaintManager()->GetColorSet()->m_clrNormalText = ...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
kentse
Newbie Joined: 29 October 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Thanks for the reply Oleg. Yes, this is Office2007 theme, but this tab is not part of the ribbon. It is part of a CXTPTabClientWnd. Do you know how I would go about changing the text color there?
I am able to set the icon of the tab with this, but can't figure out how to set the text color of the tab:
GetParent()->SetIcon(LoadIcon(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDI_OPEN_DOCUMENT)), TRUE);
|
|
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 |