Hi, is there a simple way to iterate over all nodes in the tree, not just the open ones (without keeping a separate list of the node ids somewhere)?
I could do it recursively, but I'd rather not. I just need a list of all the node ids.
Yes. Recursively...
If you knew the highest id in TreeCtrl, you could probably use IsValid too. But I am not sure we should go that way. Of course, "id" is just index to internal vector of Nodes, but somehow I would prefer this to be hidden just in case implementation has to change for some reason.