Header_GetItemCount

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

See Also

Reference

Header Controls Macros
HDM_GETITEMCOUNT