|
-
May 30th, 2001, 03:23 PM
#1
Thread Starter
Hyperactive Member
Images disappear?!?
Scenario: I'm passing a listview and an imagelist (which contains the images the listview uses) to a dll. The dll uses late binding to access the properties of both controls i.e. public sub...(byval imagelist as object...)
Ok, so the listview part works 100%. The only problem I have is with the imagelist. I can pass it to the dll and access properties such as .name, .listimages.count, and other such properties. However, when I try and do anything with the images in the listview I can't get a thing to work. It's like they aren't there!! For instance, if I try and populate a picturebox with one of the images, nothing happes.
The only thing I can think of is that I've noticed if you copy and paste an imagelist in a standard .exe you have to re-add the images to the list. I don't know if something similar is happening when I pass the imagelist to the dll. Does ANYBODY have any ideas about what I can do to use the images after I pass the imagelist to the dll???
Thanks!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|