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

Called by the framework when the border of a caption bar is about to be redrawn.

Override this member function in a CBCGPCationBar - derived class to customize the appearance of the caption bar's borders.

By default, the borders are displayed according to the "flat" style, which can be set by SetFlatBorder.

Note. The borders of caption bars are non-client area.

Parameters
pDCA device context used to display the borders.
rectThe border bounding rectangle. It is non-client area.