equivalent ImageList exists function ??

  • Thread starter Thread starter Dave Brown
  • Start date Start date
D

Dave Brown

Hi,

Can anyone tell how to see if an image exists in an imagelist by a name ?

rgds

d.
 
The short answer is - you can't. The imagelist is a collection of image
objects; there is no information stored as to whether the image originally
came from. You should just write your own manager class that keeps a
hashtable of names for images it adds to the imagelist and then ask the
manager if an image with that name has been added.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top