HDM_SETITEMHDM_SETITEM*
*



Contents  *



Index  *Topic Contents
*Previous Topic: HDM_SETIMAGELIST
*Next Topic: HDM_SETORDERARRAY

HDM_SETITEM


HDM_SETITEM
    wParam = (WPARAM)(int) iIndex;
    lParam = (LPARAM)(const LPHDITEM) phdItem;

Sets the attributes of the specified item in a header control. You can send this message explicitly or use the Header_SetItem macro.

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 message 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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.