BCGControlBar Pro for MFC
virtual void CBCGPCaptionBar::OnDrawBackground ( CDC *  pDC,
CRect  rect 
)
protectedvirtual

Called by the framework when the background of a caption bar is filled.

Override this member function in a CBCGPCaptionBar - derived class to customize the appearance of the caption bar.

The OnDrawBackground method is called when the background of the caption bar is about to be filled. The default implementation fills the background by the m_clrBarBackground color.

Parameters
pDCA pointer to the caption bar's device context.
rectSpecifies the bounding rectangle to fill.