共用方式為


CMFCRibbonCategory::OnKey

Called by the framework when a user presses a keyboard button.

virtual BOOL OnKey(
   UINT nChar
);

Parameters

  • nChar
    The virtual key code for the key that a user pressed.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class