This documentation is archived and is not being maintained.


Sets the tooltip control that the list view control will use to display tooltips.

CToolTipCtrl* SetToolTips(
   CToolTipCtrl* pWndTip 


A pointer to a CToolTipCtrl object that the list control will use.

Return Value

A pointer to a CToolTipCtrl object containing the tooltip previously used by the control, or NULL if no tooltips were used previously.


This member function implements the behavior of the Win32 message LVM_SETTOOLTIPS, as described in the Platform SDK.

To use tooltips, indicate the LVS_NOTOOLTIPS style when you create the CListCtrl object.

See Also

CListCtrl Overview | Class Members | Hierarchy Chart | CListCtrl::GetToolTips