Partager via


DocList_SetItemState

4/8/2010

The DocList_SetItemState macro changes the state of an item in the document list.

Syntax

DocList_SetItemState (
    hwnd, 
    i, 
    data, 
    mask
);

Parameters

  • hwnd
    Handle to the document list view window.
  • i
    Index value of the item.
  • data
    Value to assign to the item's state member.
  • mask
    Value to assign to the item's stateMask member.

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

See Also

Reference

DLM_SETITEMSTATE