Header_GetItemCount (Compact 2013)
3/28/2014
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 |