This message retrieves data about an item in a header control. You can send this message explicitly or use the Header_GetItem macro.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related macro: | Header_GetItem |
Syntax
HDM_GETITEM wParam = (WPARAM)(int) index;
lParam = (LPARAM)(HD_ITEM FAR*) phdi;
Parameters
index
Index of the item for which data is retrieved
phdi
Pointer to an HDITEM structure. When the message is sent, the mask member indicates the type of data requested. When the message returns, the other members receive the requested data. If the mask member specifies zero, the message returns TRUE, but copies no data to the structure.
Return Values
TRUE indicates success. FALSE indicates failure.
See Also