SEC_TREECLASS::GetSelectedItem

HTREEITEMSEC_TREECLASS::GetSelectedItem(void)

Retrieves the currently selected item of the tree view control.

Defined in: trcore.inl

Return Value

The handle of the selected item; otherwise NULL.

Comments

In single select mode, returns the selected item. In multi-select mode returns the focus item. This function calls GetCaretItem().