Поделиться через


CSliderCtrl::GetToolTips

Retrieves the handle to the tooltip control assigned to the slider control, if any.

CToolTipCtrl* GetToolTips( ) const;

Возвращаемое значение

A pointer to a CToolTipCtrl object, or NULL if tooltips are not in use. If the slider control does not use the TBS_TOOLTIPS style, the return value is NULL.

Заметки

This member function implements the behavior of the Win32 message TBM_GETTOOLTIPS, as described in the Windows SDK. Note that this member function returns a CToolTipCtrl object instead of a handle to a control.

For a description of the slider control styles, see Trackbar Control Styles in the Windows SDK.

Требования

Header: afxcmn.h

См. также

Основные понятия

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::SetToolTips