Class: cImageList32

Module location: cImageList32.pkg line 130 (view source)

Class Hierarchy:

cObjectcImageListcImageList32

Class Definition

Properties

IntegerpeColorDepth
ILC_COLOR Use the default color depth. Typically, the default is ILC_COLOR4, but for older display drivers, the default is ILC_COLORDDB. ILC_COLOR4 Use a 4-bit (16-color) device-independent bitmap (DIB) section as the bitmap for the image list. ILC_COLOR8 Use an 8-bit DIB section. The colors used for the color table are the same colors as the halftone palette. ILC_COLOR16 Use a 16-bit (32/64k-color) DIB section. ILC_COLOR24 Use a 24-bit DIB section. ILC_COLOR32 Use a 32-bit DIB section. ILC_COLORDDB Use a device-dependent bitmap.

Functions and Procedures

IntegerAddBitmap(String sImage Integer iTransparentColor)
AddBitmap --------- Use this function to add a Bitmap, to the imagelist. All images will be scaled to 16x16 pixels. If you do not specify a transparency color then the top left pixel is used to identify the transparent color. See also AddImage, AddCursor, AddIcon. sImage - is the image filename being loaded. iTransparentColor - Is the RGB color value used as a transparency mask. If you pass IL_AutoTransparency then the color of the top left pixel in the bitmap will be used as the transparency mask color. Returns - The image index of the loaded image or -1 if an error occurs.
IntegerAddCursor(String sImage)
AddCursor --------- Use this function to add a cursor, to the imagelist. All images will be scaled to 16x16 pixels. See also AddImage, AddBitmap, AddIcon. sImage - is the image filename being loaded. Returns - The image index of the loaded image or -1 if an error occurs.
IntegerAddIcon(String sImage)
AddIcon ------- Use this function to add a icon, to the imagelist. All images will be scaled to 16x16 pixels. See also AddImage, AddBitmap, AddCursor. sImage - is the image filename being loaded. Returns - The image index of the loaded image or -1 if an error occurs.
IntegerAddImage(String sImage)
Inherited from cImageList
AddImage -------- Use this function to add a Bitmap, Icon, or Cursor to the imagelist. All images will be scaled to 16x16 pixels. The type is determined by the file extension in the passed image name: .bmp = bitmap, .ico = icon, .cur = cursor. For bitmaps the top left pixel is used to identify the transparent color. Semi-transparent pixels in alpha-blend icons are rendered as black pixels. See also AddBitmap, AddCursor, AddIcon. sImage - is the image filename being loaded. Returns - the image index of the loaded image or -1 if an error occurs.
Construct_Object()
Inherited from cImageList
DoCreate()
Inherited from cImageList
DoCreate: Overridden superclass method to create image list of the required color depth.