Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

LVM_SETITEMSTATE

Windows CE 3.0

This message changes the state of an item in a list view control. You can send this message explicitly or by using the ListView_SetItemState macro.

LVM_SETITEMSTATE wParam = (WPARAM)(int) i; 
lParam = (LPARAM)(LV_ITEM FAR *) pitem;

Parameters

i
Index of the list view item. If this parameter is –1, then the state change is applied to all items.
pitem
Pointer to an LVITEM structure. The stateMask member specifies which state bits to change, and the state member contains the new values for those bits. The other members are ignored.

Return Values

If you send this message explicitly, TRUE indicates success. FALSE indicates failure.

Remarks

Related macro: ListView_SetItemState

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    
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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.