CTreeCtrl::SetItemState

BOOL SetItemState( HTREEITEM hItem, UINT nState, UINT nStateMask );

Return Value

Nonzero if successful; otherwise 0.

Parameters

hItem

Handle of the item whose state is to be set.

nState

Specifies new states for the item.

nStateMask

Specifies which states are to be changed.

Remarks

Sets the state of the item specified by hItem. For information on states, see CTreeCtrl::GetItem.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::GetItem, CTreeCtrl::GetItemState