This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
An ImageList is a structure which contains any number of graphical images, either bitmaps or icons, but not a mixture.
All of the images are automatically converted to the type, size, and color depth specified when the ImageList is created.
A bitmap (file type *.BMP) is a single color image, while an icon (file type *.ICO) supports transparency by including both a color bitmap and a mask bitmap.
The mask bitmap is a monochrome image (one bit per pixel), where each "set" bit describes a pixel which remains transparent.
The ImageList structure can best be described as a set, or array, of images. You can retrieve the images individually by index number, or pass the entire ImageList to a control which requires it.
An empty ImageList is first created with ImageList_New. Images are then added with ImageList_Add, until the structure is complete. If you add an image which is wider than the size specified by width, the image is separated into multiple bitmaps, each of which is added in sequence. When an ImageList is attached to a control like LISTVIEW, it is usually destroyed automatically when the control is destroyed. Consult the control documentation for that information. If not, you must explicitly destroy it with ImageList_Kill.