Export (0) Print
Expand All

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

Show:
© 2014 Microsoft