LVM_SETITEMSTATE
The LVM_SETITEMSTATE
message changes the state of an item in a list view control. You can explicitly
send this message 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.
pitem
Pointer to an
LV_ITEM
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, it returns TRUE if successful or FALSE otherwise.
If you send
this message implicitly by using the ListView_SetItemState macro, there
is no return value.
See Also