Header_GetItemCount (Windows CE 5.0)

Send Feedback

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

#define Header_GetItemCount(hwndHD) \                           (int)SNDMSG((hwndHD), HDM_GETITEMCOUNT, 0, 0L)

Parameters

  • hwndHD
    Handle to the header control.

Return Values

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

Header Controls Macros | HDM_GETITEMCOUNT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.