We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


Retrieves the tooltip control that the list view control uses to display tooltips.

CToolTipCtrl* GetToolTips( ) const;

A pointer to a CToolTipCtrl object to be used by the list control. If the Create member function uses the style LVS_NOTOOLTIPS, no tooltips are used, and NULL is returned.

This member function implements the behavior of the Win32 message LVM_GETTOOLTIPS, as described in the Windows SDK. The MFC implementation of GetToolTips returns a CToolTipCtrl object, which is used by the list control, rather than a handle to a tooltip control.

		CToolTipCtrl* pTip = m_myListCtrl.GetToolTips();
		if (NULL != pTip)
			pTip->UpdateTipText(_T("I'm a list view!"), &m_myListCtrl,

Header: afxcmn.h