TreeView_GetRootNode()

Examples


The TreeView_GetRootNode() function returns the ID of the first root-level node in a tree view field.

Syntax

TreeView_GetRootNode(tree_view_field)

Parameters

tree_view_field – The tree view field containing the specified node.

Return value

A long integer containing the node ID of the first root-level node. If the tree has no nodes, TV_NODEINVALID is returned.


Documentation Feedback