CMFCRibbonBaseElement::OnMenuKey

Called by the framework when the user presses a menu keytip on the main panel.

virtual BOOL OnMenuKey(
    UINT nUpperChar
);

Parameters

  • [in] nUpperChar
    This parameter is not used.

Return Value

Always returns FALSE.

Remarks

By default this method always returns FALSE. Override this method to respond when a user presses a menu keytip on the main panel.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart