Share via


CSliderCtrl::SetToolTips

Assigns a tooltip control to a slider control.

void SetToolTips( 
   CToolTipCtrl* pWndTip  
);

Parameters

  • pWndTip
    A pointer to a CToolTipCtrl object containing the tooltips to use with the slider control.

Remarks

This member function implements the behavior of the Win32 message TBM_SETTOOLTIPS, as described in the Windows SDK. When a slider control is created with the TBS_TOOLTIPS style, it creates a default tooltip control that appears next to the slider, displaying the slider's current position. For a description of the slider control styles, see Trackbar Control Styles in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetToolTips

Other Resources

CSliderCtrl Members