SEC_TREECLASS::SelectItem

BOOLSEC_TREECLASS::SelectItem(HTREEITEMhti)

Selects the given tree view item.

Defined in: trcore.inl

Return Value

Nonzero if successful; otherwise 0.

Parameters

hti

Handle of a tree item.

Comments

Call this function to select the given tree view item. This will result in TVN_SELCHANGING and TVN_SELCHANGED notifications being sent. If this the tree is in single select mode, the selected item will also get the caret.