CMFCRibbonBaseElement::OnProcessKey

Called by the framework when the user presses a shortcut key.

virtual BOOL OnProcessKey(
   UINT nChar
);

Parameters

  • [in] nChar
    This parameter is not used.

Return Value

Always returns FALSE.

Remarks

Override this method if you want the ribbon element to process a shortcut key.

Requirements

Header: afxbaseribbonelement.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBaseElement Class