Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CTreeCtrl "Multi select" (not check)

Posted on 2006-07-10
3
Medium Priority
?
1,047 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 total points
ID: 17074821
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

670 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