CMFCRibbonBaseElement::OnDrawKeyTip

Called by the framework to draw the keytip for the ribbon element.

virtual void OnDrawKeyTip(
   CDC* pDC,
   const CRect& rect,
   BOOL bIsMenu
);

Parameters

  • [in] pDC
    Pointer to a device context.

  • [in] rect
    Boundary rectangle for the keytip.

  • [in] bIsMenu
    TRUE if the keytip is for a pop-up menu button; otherwise, FALSE.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart