Export (0) Print
Expand All

CMFCCaptionBar::OnDrawBorder

Called by the framework to draw the border of the caption bar.

virtual void OnDrawBorder(
   CDC* pDC,
   CRect rect 
);

[in] pDC

A device context that is used to display the borders.

[in] rect

The bounding rectangle.

By default, the borders have the flat style.

Override this method in a CMFCCaptionBar derived class to customize the appearance of the caption bar's borders.

Header: afxcaptionbar.h

Show:
© 2014 Microsoft