CMFCRibbonBaseElement::DrawImage
Draws the image for the ribbon element.
virtual void DrawImage(
CDC* pDC,
RibbonImageType type,
CRect rectImage
);
Parameters
[in] pDC
Pointer to a device context.[in] type
An image type enumerated value. See the Remarks section for a list of possible values.[in] rectImage
The image rectangle.
Remarks
By default this method does nothing. Override this method in a derived class to draw the image for the ribbon element.
The following table lists possible values for the type parameter:
RibbonImageLarge
Large 32x32 pixel image size.RibbonImageSmall
Small 16x16 pixel image size.
Requirements
Header: afxbaseribbonelement.h