SEC_TREECLASS::GetRootItem

HTREEITEMSEC_TREECLASS::GetRootItem(HTREEITEMhti)

Retrieves the root item of the entire tree view control, or a specified item.

Defined in: trcore.inl

Return Value

The handle of the root item; otherwise NULL.

Parameters

hti

Handle of a tree item to find the root of; default is NULL.

Comments

Retrieves the root level item of which the specified item is a part.