LVM_SETITEMSTATE (Compact 2013)
3/28/2014
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.
Syntax
LVM_SETITEMSTATE wParam = (WPARAM)(int) i;
lParam = (LPARAM)(LVITEM 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 Value
If you send this message explicitly, TRUE indicates success. FALSE indicates failure.
Remarks
Related macro ListView_SetItemState
Requirements
Header |
commctrl.h |