Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining


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

© 2015 Microsoft