CMFCRibbonBar::SetKeyboardNavigationLevel
TOC
Collapse the table of content
Expand the table of content

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
);

[in] pLevel

Pointer to the current keyboard navigation object.

[in] bSetFocus

TRUE to set the keyboard focus to the ribbon bar.

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

Show:
© 2016 Microsoft