Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Embedded
Windows Embedded CE
Windows CE .NET
 HDM_SETITEM
Microsoft Windows CE .NET 4.2
HDM_SETITEM

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

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


Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker