Contents Index Topic Contents | ||
Previous Topic: Header_GetItem Next Topic: Header_GetItemRect |
Header_GetItemCount
int Header_GetItemCount( hwndHD );Retrieves a count of the items in a header control. You can use this macro or send the HDM_GETITEMCOUNT message explicitly.
- Returns the number of items if successful, or -1 otherwise.
- hwndHD
- Handle to the header control.
The Header_GetItemCount macro is defined as follows:
#define Header_GetItemCount(hwndHD) \ (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.