![]() |
change color of tabs |
Post Reply
|
| Author | |
stephen
Newbie
Joined: 06 December 2005 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: change color of tabsPosted: 06 December 2005 at 2:30pm |
|
Hi all,
How do I change the colors of my tabs as I create them? This is how I create them: CMDIChildWnd* pNextChild = pMainFrame->CreateNewChild( RUNTIME_CLASS(CChildFrame), IDR_MAINFRAME, NULL, NULL); This will create a new tab in the workspace. How do I then change the color of that tab ? Thx. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 December 2005 at 10:43pm |
|
You can catch ON_MESSAGE(WM_XTP_GETTABCOLOR, OnGetTabColor) ON_MESSAGE(WM_XTP_GETTABCOLOR, OnGetTabColor) LRESULT CMDIChildWndEx::OnGetTabColor(WPARAM, LPARAM) return m_nColor;
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |