CTreeCtrl::SetItemState

This method sets the state of the item specified by hItem. For information about states, see CTreeCtrl::GetItem.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions:: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

CTreeCtrl::GetItem, CTreeCtrl::GetItemState