CTreeCtrl::SetToolTips

void SetToolTips( CToolTipCtrl* pWndTip );

CToolTipCtrl* SetToolTips( CToolTipCtrl* pWndTip );

Return Value

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

Parameters

pWndTip

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

Remarks

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

To use tooltips, indicate the TVS_NOTOOLTIPS style when you create the CTreeCtrl object.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::GetToolTips, CTreeCtrl::Create