CTreeCtrl "Multi select" (not check)
Posted on 2006-07-10
I have a CTreeCtrl object in my C++ .net 2005 User Interface. I would like to be able to "multi select" the items in the list and then detect these items in a function that is called from a push button on the form. It seems like I can only select one item at a time and I don't see any options to make the object multi selectable. To be clear, I'm not talking about the check boxes on each item, I'm talking about selecting them, highlighting them. I hope this is clear.
Can I do this? No? If so how? In my function, I can run through the list of items in the tree. How would I detect if they are "selected"? I see no methods to do this.