This documentation is archived and is not being maintained.

CMFCRibbonBaseElement::OnDrawKeyTip

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

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

[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.

Header: afxbaseribbonelement.h

Show: