HDM_SETITEM (Windows CE 5.0)
This message sets the specified item attributes in a header control. You can send this message explicitly or use the Header_SetItem macro.
HDM_SETITEMwParam = (WPARAM)(int)iIndex;lParam = (LPARAM)(constHD_ITEMFAR*)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 Values
Nonzero indicates success. Zero indicates failure.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
See Also
Header Controls Messages | Header_SetItem | HDITEM | HDN_ITEMCHANGED | HDN_ITEMCHANGING
Send Feedback on this topic to the authors