Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CListCtrl::SetToolTips

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

CToolTipCtrl* SetToolTips(
   CToolTipCtrl* pWndTip 
);

Parameters

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.

Remarks

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

Show:
© 2015 Microsoft