CTreeCtrl::SetToolTips
This member function implements the behavior of the Win32 message TVM_SETTOOLTIPS, as described in the Windows SDK.
CToolTipCtrl* SetToolTips(
CToolTipCtrl* pWndTip
);
Параметры
- pWndTip
A pointer to a CToolTipCtrl object that the tree control will use.
Возвращаемое значение
A pointer to a CToolTipCtrl object containing the tooltip previously used by the control, or NULL if no tooltips were used previously.
Заметки
To use tooltips, indicate the TVS_NOTOOLTIPS style when you create the CTreeCtrl object.
Пример
See the example for CTreeCtrl::GetToolTips.
Требования
Header: afxcmn.h