V.2.9
ctlImageBag

This is an ImageList control clone. It has the ability to store bitmaps with different size.
How to use this control:
Just draw it on a form, then press the "Custom" button on the VB6 Properties Panel.

Create on the form an enum to store bitmaps indexes so you can retrieve images by index.

At run-time use the GetPicture method to retrieve bitmaps from the control.

This control can be used to store images for every control in this library.
Remember that the first pixel of the image is treated as the transparent color (when the control doesn't support a specific property for this)

PS. Sometime the Image List is not saved after exiting from this custom window.
This seems to be a VB6 bug; you can solve it by resizing the ImageBag control on the form with the mouse.

Some Properties/Methods:
GetPicture return a bitmap given an index
GetPictureClone return a clone of the internal bitmap given an index
Custom Panel
Add Image Adds the selected image to the bag
Add All Adds all listed images to the bag
Set to Current Sets the selected image to the current index
Paste from Clipboard Pastes the image from the clipboard
Copy to Clipboard Copies the current image to the clipboard
Remove Current Removes the current image from the bag
<<->> Changes the current image
http://www.hexagora.com
Mon, 12 May 2008 15:07:22 UT
Copyright 2003-10 by Lorenzi Davide