Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CMFCCaptionBar::OnDrawImage

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.