共用方式為


CMFCRibbonEdit::OnKey

Called by the framework when the user presses a keytip and the CMFCRibbonEdit Class control has the focus.

virtual BOOL OnKey(
   BOOL bIsMenuKey
);

Parameters

  • [in] bIsMenuKey
    TRUE if the keytip displays a pop-up menu; otherwise, FALSE.

Return Value

TRUE if the event was handled; otherwise, FALSE.

Requirements

Header: afxribbonedit.h

See Also

Reference

CMFCRibbonEdit Class

Hierarchy Chart