Delen via


CDocList::SetItemState

Changes the state of an item in the document list.

BOOL SetItemState(
int nItem,
UINT nState,
UINT nStateMask );

Parameters

The following table describes the parameters for the SetItemState method of the CDocList Class.

Parameter

Description

nItem

The index number for the item.

nState

Specifies values for states to be changed.

nStateMask

Specifies which states are to be changed.

Return Values

true if successful; otherwise, false.

Requirements

Windows CE versions 5.0 and later.

Header file: Declared in Afxext.h.

See Also

Reference

CDocList Class

Other Resources

CCeDocList

Unique MFC for Devices Classes