HDM_GETITEMCOUNT

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: Header_GetItemCount

Syntax

HDM_GETITEMCOUNT wParam = 0; lParam = 0;

Return Values

The number of items indicates success. -1 indicates failure.

See Also

HD_ITEM, HDM_GETITEM