|
-
November 6th, 2003, 12:54 PM
#1
Easy way to traverse a tree control?
I need to read the text labels of all items in a tree control. I don't care at all about the parent/child relationships.
Is there an easy way to get thru all the items?
-
November 6th, 2003, 01:29 PM
#2
If you can limit yourself to the expanded (and hence visible) items, you can use GetNextVisibleItem() to traverse the tree. Otherwise, you will have to use recursion (which is not a great deal, however).
-
November 6th, 2003, 01:50 PM
#3
unfortunately I cant'
limit it to the visible items. Thought of that already with my humble brain :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|