ImageList Questions
- Posted by ssallen Oct 10, 2009
- 1140 views
Hi Everyone,
I don't get the ImageList controls and the documentation is a bit sparse. Could someone explain how to get one's feet wet with them?
Basic Questions:
Image Lists - It seems like I need to create one and add my images too it with the addDib/EuBmp/etc. functions but they only take one argument... how do I keep my imagelists seperate? If I have two different controls I want to pass bitmaps between how do I know what goes where? I guess I want to know where I get the imagelist handle from.
Also, do I just create a ListView and assume that it will handle my images when I pass them?
What does *size* mean as an argument to the setImageList procedure?
Visual of what I want to do:
Window1 Window2
----------- ---------
+ Image 1 + > + Image 3 + + Image 4 +
+ Image 2 + <
----------- ---------
What I want to be able to do is drag Image 1 to Window 2 and vice versa. I am going to be transferring thumbnails of images that are indexed back to the full size image and tracking the locations internally. I just can't figure out how this mechanism works.
Thanks! Steve A.