Compartilhar via


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 Windows SDK.

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

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::GetToolTips

Other Resources

CListCtrl Members