This macro sets the attributes of the specified item in a header control. You can use this macro or send the HDM_SETITEM message explicitly.
BOOL Header_SetItem( hwndHD, i, phdi );
Handle to a header control.
Current index of the item for which attributes are to be changed.
Pointer to an HDITEM structure that contains item information. When this message is sent, the mask member of the structure must be set to indicate which attributes are being set.
Nonzero indicates success. Zero indicates failure.
In Windows CE versions 2.0 and later, this macro supports item order and image list information. By using the iImage and iOrder members of the new HDITEM structure you pass in the phdi parameter, you can control the order in which items are displayed and specify images to appear with items.
The HDITEM structure that supports this macro supports item order and image list information. By using these members, you can control the order in which items are displayed and specify images to appear with items.
|Runs on||Versions||Defined in||Include||Link to|
|Windows CE OS||1.0 and later||Commctrl.h||Commctrl.lib|
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.