Partager via


CMFCRibbonBar::EnableToolTips

Enables or disables tooltips and optional tooltip descriptions on the ribbon bar.

void EnableToolTips(
   BOOL bEnable = TRUE,
   BOOL bEnableDescr = TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable tooltips on the ribbon bar; FALSE to disable tooltips on the ribbon bar.

  • [in] bEnableDescr
    TRUE to enable tooltip descriptions on the tooltip; FALSE to disable tooltip descriptions on the tooltip.

Remarks

The bEnable parameter determines whether tooltips are displayed when the mouse hovers over a ribbon element. The bEnableDescr parameter determines whether additional descriptive text appears with the tooltip text.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart