TreeViews are kind of useless
BlitzPlus Forums/BlitzPlus Programming/TreeViews are kind of useless
| ||
What is the point of CountTreeViewNodes() if you can't get the tree view nodes from the parent? |
| ||
Link to MS docs: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/treeview/messages/tvm_getnextitem.asp Constants: Example code: Get the windows handle of the first tree view node: node=SendMessage(QueryObject(tree,1), TVM_GETNEXTITEM, TVGN_CHILD, 0) Get a sibling: sibnode=SendMessage(QueryObject(tree,1), TVM_GETNEXTITEM, TVGN_NEXT,node) |
| ||
I've just turned it into a new bit of code I made, a directory view: |