Solved

Multiselect Items in a Treeview

Posted on 2006-07-02
4
339 Views
Last Modified: 2008-03-06
Is it possible to multiselect items in a treeview i.e. drag & drop more than one item at a time ?
0
Comment
Question by:dwood1112
[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
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Raynard7
ID: 17028096
Unfortunatley if you are using the Microsoft treeview control it does not support the ability to support multiple items.  To do so you would either have to use a listview and set the Indent property (which will get you the tree structure, but not the ability to expand/collapse) or one of the third party tree view controls that are on the market.
0
 

Author Comment

by:dwood1112
ID: 17028132
1) Where might I go to see those 3rd party options?

2) Can you point me to an example on the listview Indent?
0
 
LVL 35

Accepted Solution

by:
Raynard7 earned 500 total points
ID: 17028143
http://www.codeguru.com/cpp/controls/treeview/misc-advanced/article.php/c629/ gives an example of a third party treeview control - i have never used one so I do not know if any are any good - but they claim they can do what microsoft can not.

http://vbnet.mvps.org/code/comctl/lvitemindent.htm is a good example of indenting a list box
0
 

Author Comment

by:dwood1112
ID: 17028154
Thanks for your help!
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

624 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