Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Sets the state of the item specified by hItem.
BOOL SetItemState(
HTREEITEM hItem,
UINT nState,
UINT nStateMask
);
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.
Return Value
Nonzero if successful; otherwise 0.
Remarks
For information on states, see CTreeCtrl::GetItem.
Example
See the example for CTreeCtrl::GetItemState.
Requirements
Header: afxcmn.h