aerol
asked on
CTreeCtrl "Multi select" (not check)
Hi,
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.
Thanks!
AeroL
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.
Thanks!
AeroL
ASKER
Hmm... I'll give it a try... I'll let you know... Thanks!
AeroL
AeroL
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
-MAHESH