TreeView_GetToolTips macro (commctrl.h)

Retrieves the handle to the child tooltip control used by a tree-view control. You can use this macro or send the TVM_GETTOOLTIPS message explicitly.

Syntax

HWND TreeView_GetToolTips(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

Handle to a tree-view control.

Return value

Type: HWND

Returns the handle to the child tooltip control, or NULL if the control is not using tooltips.

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_SetToolTips