TreeView + SendMessage
Posted on 2005-04-17
I have a TreeView from a program ("SysTreeView32")
I was trying to make it pull some of the node's text out but I couldn't figure out how.
I can find the TreeView and everything, get the count with TVM_GETCOUNT, etc. I thought TVM_GETITEM might do it but apparently, by other coding I saw, that's not what it does. So how do I pull all of the node's text (or label, maybe) out and add them to a listbox.
Also, if I could just get the child nodes. Like:
If I could just get the "Word1", "Word2", ..., "Word7" 's out, that would be good. I just couldn't figure this one out :(