By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,124 Members | 2,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,124 IT Pros & Developers. It's quick & easy.

Use Windows ImageList for program icons in treeview control?

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.