ListView_SetToolTips macro (commctrl.h)

Sets the tooltip control that the list-view control will use to display tooltips. You can use this macro or send the LVM_SETTOOLTIPS message explicitly.

Syntax

HWND ListView_SetToolTips(
   HWND hwndLV,
   HWND hwndNewHwnd
);

Parameters

hwndLV

Type: HWND

A handle to the list-view control.

hwndNewHwnd

Type: HWND

A handle to the tooltip control to be set.

Return value

Type: HWND

Returns the handle to the previous tooltip control.

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

ListView_GetToolTips