Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Image list from Resource File

Status
Not open for further replies.

SteveMac32

Programmer
Jan 25, 2002
74
GB
Hi all
I need to populate a treeview useing the image list to provide the images for the nodes.

I have about 200 existing icons in a resource file, what I want to do is instead of loading the image file with all the images at design time I want to loop around the resource file at run time when that form is called, loading the image list from the resource file.

As far as I know the resource file can be treated as a collection, but how would I access this and do a ‘For Each’ type loop on it?

Thanks

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top