TreeView_SetToolTips macro (commctrl.h)

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

Syntax

void TreeView_SetToolTips(
   hwnd,
   hwndTT
);

Parameters

hwnd

Type: HWND

Handle to a tree-view control.

hwndTT

Type: HWND

Handle to a tooltip control.

Return value

None

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]
Target Platform Windows
Header commctrl.h

See also

TreeView_GetToolTips