TreeView_GetParent()

Examples


The TreeView_GetParent() function returns the node ID of the parent of the specified node.

Syntax

TreeView_GetParent(tree_view_field, node_ID)

Parameters

tree_view_field – The tree view field containing the specified node.

node_ID – A long integer specifying the ID of the node whose parent will be returned.

Return value

A long integer containing the node ID of the parent of the specified node. If the specified node is a root-level node, the value TV_ROOT is returned.


Documentation Feedback