Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Requirements

Header: afxcaptionbar.h

Show: