HDM_GETITEMCOUNT message

Gets a count of the items in a header control. You can send this message explicitly or use the Header_GetItemCount macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the number of items if successful, or -1 otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h