win32ui.CreateImageList

int = CreateImageList(cx, cy , mask , initial , grow )

Creates an image list.

Parameters

cx : int

Dimension of each image, in pixels.

cy : int

Dimension of each image, in pixels.

mask : int

TRUE if the image contains a mask; otherwise FALSE.

initial : int

Number of images that the image list initially contains.

grow : int

Number of images by which the image list can grow when the system needs to resize the list to make room for new images. This parameter represents the number of new images the resized image list can contain.

Alternative Parameters

bitmapId

Resource name or ID of the bitmap to be associated with the image list.

cx

Dimension of each image, in pixels.

grow

Number of images by which the image list can grow when the system needs to resize the list to make room for new images. This parameter represents the number of new images the resized image list can contain.

crMask

Color used to generate a mask. Each pixel of this color in the specified bitmap is changed to black, and the corresponding bit in the mask is set to one.