Solved

Multiselect Items in a Treeview

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

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

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.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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 …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

710 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