The TreeView_SetNodeLabel() function sets the label for the specified node.
TreeView_SetNodeLabel(tree_view_field, node_ID, label)
• tree_view_field – The tree view field containing the specified node.
• node_ID – A long integer specifying the ID of the node whose label will be set.
• label – A string containing the new label.
A boolean indicating whether the label was set. True indicates the label was set, while false indicates it was not.