ListView_GetHeader macro (commctrl.h)

Gets the handle to the header control used by a list-view control. You can use this macro or send the LVM_GETHEADER message explicitly.

Syntax

HWND ListView_GetHeader(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

A handle to a list-view control.

Return value

Type: HWND

Returns the handle to the header 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