Compartilhar via


CMFCRibbonBar::EnableKeyTips

Enables or disables the keytip feature for the ribbon bar.

void EnableKeyTips(
   BOOL bEnable = TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable the keytips feature; FALSE to disable the keytips feature.

Remarks

When you enable this feature, key tips are displayed when the user presses the ALT or F10 button. When the user presses ALT key, key tips are displayed with a 200 millisecond delay. This delay allows for shortcuts to be executed so that the pressed ALT key does not interfere with other combinations that include the ALT key.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart