Solved

CTreeCtrl "Multi select" (not check)

Posted on 2006-07-10
3
961 Views
Last Modified: 2013-11-20
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
0
Comment
Question by:aerol
  • 2
3 Comments
 
LVL 22

Expert Comment

by:mahesh1402
ID: 17074651
0
 

Author Comment

by:aerol
ID: 17074696
Hmm... I'll give it a try... I'll let you know... Thanks!

AeroL
0
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 125 total points
ID: 17074821
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ORA-01403: no data found 43 90
sum67 challenge 35 93
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 192
Change to event 1 101
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now