CTreeCtrl::SetItemState
Sets the state of the item specified by hItem.
BOOL SetItemState(
HTREEITEM hItem,
UINT nState,
UINT nStateMask
);
Параметры
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.
Возвращаемое значение
Nonzero if successful; otherwise 0.
Заметки
For information on states, see CTreeCtrl::GetItem.
Пример
See the example for CTreeCtrl::GetItemState.
Требования
Header: afxcmn.h