Header_GetItemCountHeader_GetItemCount*
*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.

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)
 

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.