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
Solved

Multiselect Items in a Treeview

Posted on 2006-07-02
4
331 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
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

860 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