BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnFillHeaderCtrlBackground ( CBCGPHeaderCtrl pCtrl,
CDC *  pDC,
CRect  rect 

Called by the framework when it needs to fill the background of a header control.

Override in a derived class in order to customize the appearance of header control.

pCtrlPointer to a header control whose background is filled.
pDCPointer to a device context.
rectSpecifies the bounding rectangle of a header control.