Messages


LVM_GETHEADER Message

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

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(    // returns LRESULT in lResult
   hWndControl,           // (HWND) handle to destination control
   LVM_GETHEADER,         // (UINT) message ID
   wParam,                // = 0; not used, must be zero 
   lParam                 // = 0L; not used, must be zero
);

Parameters

wParam
Must be zero.
lParam
Must be zero.

Return Value

Returns the handle to the header control.

Message Information

Minimum DLL Versioncomctl32.dll version 4.70 or later
Headercommctrl.h
Minimum operating systems Windows 2000, Windows NT 4.0 with Internet Explorer 3.0, Windows 98, Windows 95 with Internet Explorer 3.0
Tags :


Page view tracker