SEC_TREECLASS::SetItemState

BOOLSEC_TREECLASS::SetItemState(HTREEITEMhItem, UINTnState, UINTnStateMask)

Sets the state of the item specified.

Defined in: trcore.inl

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.

Comments

Sets the state of the item specified by hItem.