469,160 Members | 1,742 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,160 developers. It's quick & easy.

Use Windows ImageList for program icons in treeview control?

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

--

/ Sean Mc /
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)
Nov 13 '05 #1
4 9855
By this, I mean the source of all default application icons that Windows
displays in WindowsExplorer.

--

/ Sean Mc /
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)

"What-a-Tool" <Se****@IHateSpam.Com> wrote in message
news:Kg_6e.49549$AL.23876@lakeread08...
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

--

/ Sean Mc /
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)

Nov 13 '05 #2
What-a-Tool wrote:
By this, I mean the source of all default application icons that Windows
displays in WindowsExplorer.


http://ffdba.com/downloads/iconsandgifs.zip
may help ... but these are from the last century.

--
--
Lyle
--
Nov 13 '05 #3
Treeview & ImageList classes should be located in library
C:\WINNT\system32\MSCOMCTL.OCX
Microsoft Windows Common Controls 6.0 (SP6)

"Refer" to above OCX & Press F2. The API for these 2 classes within
this library will be shown. There should be a help file somewhere
about this library. I cannot find it in my PC. Please try it in
MSDN.

Treeview class contains property ImageList. Put an ImageList object
to it.
Node class contains a property Image. Put a number which acts as
index within the ImageList. Add the node to the Treeview.
Nov 13 '05 #4
Sorry, I guess I didn't make it very clear on what I wans trying to do. I
wasn't asking about the imagelist or treeview common controls, but on a way
to use Windows built in image (the icons Windows display sin Windows
Explorer) list to supply icons to use in these controls.

Was given a pointer on Acess.formscoding (I know - double posting - bad me!)
:
Hi Sean

You will find some helpful information here:
http://www.thescarms.com/vbasic/extracticons.asp

--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand
"Johnson Cheung" <jo*************@yahoo.com.hk> wrote in message
news:3d*************************@posting.google.co m... Treeview & ImageList classes should be located in library
C:\WINNT\system32\MSCOMCTL.OCX
Microsoft Windows Common Controls 6.0 (SP6)

"Refer" to above OCX & Press F2. The API for these 2 classes within
this library will be shown. There should be a help file somewhere
about this library. I cannot find it in my PC. Please try it in
MSDN.

Treeview class contains property ImageList. Put an ImageList object
to it.
Node class contains a property Image. Put a number which acts as
index within the ImageList. Add the node to the Treeview.

Nov 13 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ian | last post: by
1 post views Thread by paradox | last post: by
7 posts views Thread by Andrew Christiansen | last post: by
1 post views Thread by Webster | last post: by
2 posts views Thread by sonu | last post: by
6 posts views Thread by henrycortezwu | last post: by
1 post views Thread by =?Utf-8?B?QWRhbQ==?= | last post: by
reply views Thread by Phil Stanton | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.