|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
MUKESH GUPTA
|
Jul 29, 2011 - 5:00 AM
|
As pointed in the image below, please suggest how to change the color for CExtTabWhidbeyWnd.
Thanks in advance.
|
|
Technical Support
|
Aug 2, 2011 - 1:08 AM
|
Please override the following virtual method and repaint the tab window’s background in it:
virtual void OnTabWndEraseClientArea(
CDC & dc,
CRect & rcClient,
CRect & rcTabItemsArea,
CRect & rcTabNearBorderArea,
DWORD dwOrientation,
bool bGroupedMode
);
|
|
Technical Support
|
Jul 29, 2011 - 11:32 AM
|
Here is the virtual method to override:
void CExtTabWhidbeyWnd::OnTabWndQueryItemColors(
LONG nItemIndex,
bool bSelected,
bool bHover,
bool bEnabled,
COLORREF * pclrBorder, // = NULL,
COLORREF * pclrBkLight, // = NULL,
COLORREF * pclrBkDark, // = NULL,
COLORREF * pclrText // = NULL
)
|
|
MUKESH GUPTA
|
Aug 1, 2011 - 4:13 AM
|
The function you have specified is for changing colors for the tabs displayed (as marked by green arrow in the following image) What I need is the change the color of the bar on which the tabs are displayed (as marked by red arrows)
http://i53.tinypic.com/au8oeb.png
Please suggest.
|
|