Share via


CMFCCaptionBar::OnDrawImage

Called by the framework to draw the caption bar image.

virtual void OnDrawImage(
   CDC* pDC,
   CRect rect 
);

Parameters

  • [in] pDC
    A pointer to a device context that is used to display the image.

  • [in] rect
    Specifies the bounding rectangle of the image.

Remarks

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

Requirements

Header: afxcaptionbar.h

See Also

Reference

CMFCCaptionBar Class

Hierarchy Chart