TVM_SETTOOLTIPS message

Sets a tree-view control's child tooltip control. You can send this message explicitly or by using the TreeView_SetToolTips macro.

Parameters

wParam

Handle to a tooltip control.

lParam

Must be zero.

Return value

Returns the handle to tooltip control previously set for the tree-view control, or NULL if tooltips were not previously used.

Remarks

When created, tree-view controls automatically create a child tooltip control. To prevent a tree-view control from using tooltips, create the control with the TVS_NOTOOLTIPS style.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

TVM_GETTOOLTIPS