Dela via


CMFCRibbonBar::SetKeyboardNavigationLevel

Sets the keyboard navigation level as the user presses the keytips that are contained on the ribbon bar.

void SetKeyboardNavigationLevel(
   CObject* pLevel,
   BOOL bSetFocus = TRUE
);

Parameters

  • [in] pLevel
    Pointer to the current keyboard navigation object.

  • [in] bSetFocus
    TRUE to set the keyboard focus to the ribbon bar.

Remarks

Keyboard navigation of the ribbon bar starts when the user presses the ALT or F10 key. The user selects the next navigation level by pressing a keytip on the ribbon bar. The user can return to the previous navigation level by pressing the escape key.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart