473,396 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Creating a List of TreeViews

Hello all,

I want to create a List of TreeViews in either a ListView or ListBox
component.

The result would be a list object that for the first row has a tree
like:

com
-foo
-goo
-blue

and then another row that has another tree, and so on and so forth.

What would be the simplest way to do this? Would it be to use a
ListBox and create an owner draw handler... or would it be to use a
ListView and create an object that extends ListViewItem? Or some
other way i haven't thought of?

Thanks,
SN
Nov 15 '05 #1
3 1238
sho_nuff wrote:
What would be the simplest way to do this?


Why do you need multiple treeviews to create a single tree structure?

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
Nov 15 '05 #2
The idea behind this is that each tree is a different occurance of
some arbitrary thing and is unique. To make this clear, i wanted to
display each in its own tree for the user.

So, again. One row for each tree that can be expanded (and possibly
manipulated).

I don't really need the Details, Lg Icons, Sm Icon functionality of a
listview, but didn't know if it would be easier to use a listview and
extend listviewitem. Or is it easier to use a ListBox and write an
owner/custom display for my listbox.

"Frank Oquendo" <fr****@acadxpin.com> wrote in message news:<Ou**************@TK2MSFTNGP12.phx.gbl>...
sho_nuff wrote:
What would be the simplest way to do this?


Why do you need multiple treeviews to create a single tree structure?

Nov 15 '05 #3
> Frank Oquendowrote:
sho_nuff wrote:

What would be the simplest way to do this?

Why do you need multiple treeviews to create a single tree structure?

--
There are 10 kinds of people. Those who understand binary and those
who
don't.

http://code.acadx.com
(Pull the pin to
reply)[/quote:fa93011159][quote:fa93011159][/quote:fa93011159]

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Armando | last post by:
I get the urge to do this every several years, and in each new language I get proficient in. I want to write a program that will generate an indented list (maybe I'll learn about TreeViews later)...
0
by: Gurudev | last post by:
Is it possible to create an explorer style drag and drop for treeviews in C# i.e. the selected node text appears and moves along with the cursor while dragging thanks in advance --...
2
by: Susan | last post by:
I'm trying to get the list of all of the controls on a form which works great except for getting the name of the HelpProvider. For instance: for (int i = 0; i < this.Controls.Count; i++) { temp =...
4
by: Michael C# | last post by:
I have a quick question, and was just wondering if anyone knew a good resource, article(s) or sample source code. I want to be able to connect the nodes of two treeviews graphically via lines. I...
3
by: Woody Splawn | last post by:
I have been experimenting with Auto Slides and TreeViews and find them most usefull in Winforms. I know how to create a Treview and have it, for example, slide out from the left of my Winform but...
1
by: jotaefe | last post by:
Hi there, Anybody knows if it is possible to highlight nodes on a treeview (over) on a drag and drop operation from a different treeview? The two treeviews are in the same Windows form. Your...
3
Raventara
by: Raventara | last post by:
Hi-a all, I have two treeviews on a form (VB.NET) and one of them contains words, and the other commands. Each word has a command assigned to it. I chose to show this in a treeview as certain words...
0
by: track | last post by:
I have two treeviews say TreeviewA and TreeviewB on windows form in .Net. I want to transfer node from TreeviewA to TreeviewB based on selected node under TreeviewB. But problem is when I select...
6
by: SalimZaabi | last post by:
How do I contruct a series of treeViews to display a folder with subfolders and files ?? I tried but all my tries were stuck on the second subtreeView!! how to keep the treeView going whenever...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.