This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.