BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawCaptionBarBorder ( CDC *  pDC,
CBCGPCaptionBar pBar,
CRect  rect,
COLORREF  clrBarBorder,
BOOL  bFlatBorder 

Called by the framework when it needs to draw the caption bar border.

Override this function in a derived class when you want to customize the caption bar appearance.

pDCA pointer to a device context.
pBarA pointer to a caption bar whose border is being drawn.
rectThe bounding rectangle of the border.
clrBarBorderA color used to draw the border.
bFlatBorderSpecifies whether the border is flat (TRUE) or 3D (FALSE).