Contents Index Topic Contents | ||
Previous Topic: Header_SetImageList Next Topic: Header_SetOrderArray |
Header_SetItem
BOOL Header_SetItem( hwndHD, iIndex; phdItem );Sets the attributes of the specified item in a header control. You can use this macro or send the HDM_SETITEM message explicitly.
- Returns nonzero if successful, or zero otherwise.
- hwndHD
- Handle to a header control.
- iIndex
- Current index of the item whose attributes are to be changed.
- phdItem
- Address of 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.
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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.