共用方式為


CMFCRibbonBar::GetKeyboardNavigationLevel

Retrieves the current navigation level as the user presses the keytips that are contained on the ribbon bar.

int GetKeyboardNavigationLevel() const;

Return Value

The current navigation level as the user presses the keytips that are contained on the ribbon bar. The following table lists possible return values:

  • -1
    Keytips are not displayed.

  • 0
    Keytips are displayed.

  • 1
    User has pressed a displayed keytip.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart