Solved

CTreeCtrl "Multi select" (not check)

Posted on 2006-07-10
3
952 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

705 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

19 Experts available now in Live!

Get 1:1 Help Now