BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawTab ( CDC *  pDC,
CRect  rectTab,
int  iTab,
BOOL  bIsActive,
const CBCGPBaseTabWnd *  pTabWnd 
)
virtual

Called by the framework when a tab that belongs to a CBCGPTabWnd object should be redrawn.

This function is called by the framework when a CBCGPTabWnd object processes WM_PAINT message and needs to render its tabs.

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

Parameters
pDCA pointer to a device context.
rectTabSpecifies the bounding rectangle of the tab to redraw.
iTabSpecifies the index of the tab to redraw.
bIsActiveSpecifies whether the tab to redraw is active or not.
pTabWndPoints to a tab window that contains tab to be redrawn.