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

x
?
Solved

Multiselect Items in a Treeview

Posted on 2006-07-02
4
Medium Priority
?
343 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 2000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

715 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