BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnEraseTabsButton ( CDC *  pDC,
CRect  rect,
CBCGPButton pButton,
CBCGPBaseTabWnd *  pWndTab 
)
virtual

Called by the framework before it fills the background of a tab button.

This function is called by the framework when a CBCGPTabWnd object processes WM_ERASEBKGND message and needs to erase the tab button area.

Override this member function in a CBCGPVisualManager - derived class to customize the look of tabs.

Parameters
pDCA pointer to a device context.
rectSpecifies the bounding rectangle of the tab button to be erased.
pButtonA pointer to a caption button.
pWndTabPoints to a tab window whose tab button is being erased.