Share via


DLM_SETITEMSTATE

4/8/2010

The DLM_SETITEMSTATE message is sent by an application to change the state of an item in the document list.

Syntax

DLM_SETITEMSTATE
    wParam = (WPARAM) (int) i; 
    lParam = (LPARAM) (LPLVITEM) pitem;

Parameters

  • i
    Index of the document list item.
  • pitem
    Reference to a Windows Embedded CE 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 of the structure are ignored.

Return Value

Returns TRUE if the item state was successfully set.

Requirements

Header doclist.h
Library doclist.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later