Header_GetItemCount
A version of this page is also available for
4/8/2010
This macro retrieves a count of the items in a header control. You can use this macro or send the HDM_GETITEMCOUNT message explicitly.
Syntax
#define Header_GetItemCount(hwndHD) \
(int)SNDMSG((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
Parameters
- hwndHD
Handle to the header control.
Return Value
The number of items indicates success. –1 indicates failure.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |