共用方式為


CMFCToolBar::SetShowTooltips

Specifies whether the framework displays tool tips.

static void SetShowTooltips(
   BOOL bValue 
);

Parameters

  • [in] bValue
    If this parameter is TRUE, the framework shows tool tips. Otherwise, the framework hides tool tips.

Remarks

By default, the framework shows tool tips.

Call the CMFCToolBar::GetShowTooltips method to determine whether the framework shows tool tips.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart

CMFCToolBar::GetShowTooltips