|
long ll_Handle
treeviewitem ltvi_item
ll_handle=tv_Tree.finditem(RootTreeItem!, 0)
ll_Handle is the handle of the first node.
tv_Tree.getitem(ll_Handle,ltvi_item)
ltvi_item is the information of the first node
The tail node is not easy to judge, only find the last node of level 1 through finditem, and then find its last child node,
Until it is not found, then this node is the last node. |
|