Unfortunately, the authors are better at coding than they are at commenting.
To be honest, I'm not really sure about this... :sign0137:
The ToDoTree application was not intended as a sample program, so I agree that it lacks (a litlle bit) of commenting. :sign0013:
Since there is no build-in function to save and load a treeview (state) I had to find my own way of doing it. Additionally "my" ToDoTree handles with some more information that had to be stored and reloaded, not only the treeview state. Because of this there is no "global" code snipplet that can be used in other applications by copy and paste.
As far as I can see if you want to save and load a treeview you need
a) to know, how to cycle through a treeview (in a recursive way)
b) to save the depth of every node beside the text of it
If you still need some help and you don't need an answer in the next few days I'll provide a small sample program within the next week (because I'm very busy at the moment...)
specci48