The TreeView_GetNodeStateImage() function retrieves the item number of the state image associated with the specified node.


TreeView_GetNodeStateImage(tree_view_field, node_ID)


tree_view_field – The tree view field containing the specified node.

node_ID – A long integer specifying the ID of the node whose state image is being returned.

Return value

An integer indicating the image. This value corresponds to the item number of a state image listed in the TreeView Images window. If no state image is associated with the node, the TV_NOIMAGE constant is returned.

Documentation Feedback