नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Gets a count of the items in a header control. You can use this macro or send the HDM_GETITEMCOUNT message explicitly.
Syntax
int Header_GetItemCount(
HWND hwndHD
);
Parameters
hwndHD
Type: HWND
A handle to the header control.
Return value
Type: int
Returns the number of items if successful, or -1 otherwise.
Remarks
The Header_GetItemCount macro is defined as follows.
#define Header_GetItemCount(hwndHD) \
(int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |