The TreeView_IsParentNode() function indicates whether a specific node in a tree view field is a parent node.
TreeView_IsParentNode(tree_view_field, node_ID)
• tree_view_field – The tree view field containing the node.
• node_ID – A long integer specifying the ID of the node whose status will be determined.
A long integer corresponding to one of the following constants:
Constant |
Description |
---|---|
TV_NODE_NONPARENT |
The node is not a parent. |
TV_NODE_PARENT_COLLAPSED |
The node is a parent and is in the collapsed state. |
TV_NODE_PARENT_EXPANDED |
The node is a parent and is in the expanded state. |