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.
Example
See the example for CTreeCtrl::GetItemState.
CTreeCtrl Overview | Class Members | Hierarchy Chart
See Also CTreeCtrl::GetItem, CTreeCtrl::GetItemState