HDM_SETITEM (Windows Embedded CE 6.0)
1/6/2010
This message sets the specified item attributes in a header control. You can send this message explicitly or use the Header_SetItem macro.
Syntax
HDM_SETITEM wParam = (WPARAM)(int) iIndex;
lParam = (LPARAM)(const HD_ITEM FAR*) phdItem;
Parameters
- iIndex
Current index of the item whose attributes are changed.
- phdItem
Pointer to an HDITEM structure that contains item data. When this message is sent, the mask member of the structure must be set to indicate which attributes are set.
Return Value
Nonzero indicates success. Zero indicates failure.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 1.0 and later |
See Also
Reference
Header Controls Messages
Header_SetItem
HDITEM
HDN_ITEMCHANGED
HDN_ITEMCHANGING