473,396 Members | 2,129 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.

changing icons on Treeview control

I created my own icons, and I would like to be able to use them instead of
all the default[msdn, news..ect..] icons they provide. Is this possible?
--
lee
Nov 19 '05 #1
3 1969
I added my custom icons to an image list, assigned the treeview.imagelist
property to this imagelist, assigned the treeview.nodes(x).imageindex to the
corresponding nodes as i added them



"lwhitb1" wrote in message
I created my own icons, and I would like to be able to use them instead of
all the default[msdn, news..ect..] icons they provide. Is this possible?
--
lee
Nov 19 '05 #2
I see the image list as a component when building a C# application, but I am
building a web application, and I don't see the image list in the toolbar?


--
lee


"Clamps" wrote:
I added my custom icons to an image list, assigned the treeview.imagelist
property to this imagelist, assigned the treeview.nodes(x).imageindex to the
corresponding nodes as i added them

"lwhitb1" wrote in message
I created my own icons, and I would like to be able to use them instead of
all the default[msdn, news..ect..] icons they provide. Is this possible?
--
lee

Nov 19 '05 #3
I am building a web application. I only see the image list component on a
regular C# application?
--
lee


"Clamps" wrote:
I added my custom icons to an image list, assigned the treeview.imagelist
property to this imagelist, assigned the treeview.nodes(x).imageindex to the
corresponding nodes as i added them

"lwhitb1" wrote in message
news..
I created my own icons, and I would like to be able to use them instead of
all the default[msdn, news..ect..] icons they provide. Is this possible?
--
lee

Nov 19 '05 #4

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

Similar topics

0
by: Garet Cammer | last post by:
I am writing a VB 6.0 program similar to Windows Explorer, which has a tree view and a list view to select directories and files. I would like to associate an icon with each file, according to the...
4
by: What-a-Tool | last post by:
Is possible to use the windows image list for icon display in my treeview control? Would appreciate it you could point me towards a code sample or Key phrase to use in a google search. Thanks...
3
by: Keith Elder | last post by:
I am using VS 2005 Beta and I have a Treeview UserControl that I built for a menu. I added an imageList to the control and added some icons that I want to associate with the control. When I build...
2
by: OpticTygre | last post by:
Hi folks. I'm currently in the midst of building an explorer - like viewer for a bigger project I'm going to be working on soon. When building the class for my Treeview and Listview controls, I'm...
2
by: Phill W. | last post by:
(Using VB'2003) Is there a "recommended" size for TreeView icons these days? I've rummaged around MSDN and Google and can't find anything that suggests "For best results, icons should be...
0
by: Roguespider | last post by:
I'm new to posting but have been using past help so I come seeking some. I'm using VB.NET 2002 writing a form that contains both a TreeView and a ListView. I'm using the commonly mentioned...
1
by: kriz | last post by:
Hello Is it possible to resize icons in treeview, it seems its always 16x16 Or maybe its possible to put picutre of custom size into treeview, somehow ....
1
by: vegas26 | last post by:
hi i have a strange behaviour in my treeview control. it shows no more my icons after i did translate my winform into other languages (localized). it still shows the placeholders for the...
8
by: sphinney | last post by:
Hello. I'm using a treeview control on my Access 2007 form. The treeview will be used to show the directory structure of a given file path. I've been able to successfully populate the nodes on the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.