次の方法で共有


Header_GetItemCount (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Header Controls Macros
HDM_GETITEMCOUNT