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 caption bar image.

virtual void OnDrawImage(
   CDC* pDC,
   CRect rect 

[in] pDC

A pointer to a device context that is used to display the image.

[in] rect

Specifies the bounding rectangle of the image.

Override this method in a CMFCCaptionBar derived class to customize the image appearance.

Header: afxcaptionbar.h

© 2015 Microsoft