Share via


CMFCRibbonCheckBox::OnDrawMenuImage

Called by the framework to draw a menu image for the checkbox.

virtual BOOL OnDrawMenuImage(
    CDC*,
    CRect
);

Parameters

  • [in] CDC*
    Pointer to the CDC associated with the checkbox.

  • [in] CRect
    A CRect object specifying the rectangle in which to draw the menu image.

Return Value

Returns TRUE if the image was drawn, or FALSE if not.

Remarks

If not overridden, returns FALSE.

Requirements

Header: afxribboncheckbox.h

See Also

Reference

CMFCRibbonCheckBox Class

Hierarchy Chart