Home > Software engineering >  Vb6 traversal treeview all nodes
Vb6 traversal treeview all nodes

Time:10-17

Have been generated directory, need to traverse a, need to find out the point and point to the node, including traversal child nodes, ask tall person to give directions

CodePudding user response:

Using a recursive algorithm

CodePudding user response:

Recursion is yao, pseudo code:

Sub findroot ()
For each node in the treeview. Nodes
Findchild node
Next
End sub

Sub findchild (parentnode)
For each node in parentnode. Nodes
Findchild node
Next
'add code here to process the current node
End sub

CodePudding user response:

Back to the two teachers, I would, but to nodes in the treeview node basic don't understand, don't know what to preach which parameter values, which node
  • Related