ListView_SetItemState  _DT0LR 

The ListView_SetItemState macro changes the state of an item in a list view control. You can use this macro or explicitly send the LVM_SETITEMSTATEIWT.2M message.

BOOL WINAPI ListView_SetItemState(

    HWND hwnd,

 

    int i,

 

    UINT state,

 

    UINT mask

 

   );

 

 

Parameters

hwnd

Handle to the list view control.

i

Index of the list view item.

state

New state bits for the item.

mask

Mask specifying which of the item s current state bits to change.

 

Return Values

No return value.

See Also

LVM_SETITEMSTATE