Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

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.

 

Description

 

Creates a new ImageList structure and return its handle.

 

Syntax

 

iList = ImageList_New(ICON | BITMAP, Width, Height, ColorDepth [, InitialItems])

 

Returns

 

Number

The handle of the created ImageList, or zero if the operation failed.

 

Parameters

 

Name

Type

Optional

Meaning

ICON | BITMAP

Keyword

No

If you specify BITMAP, each image you add will be stored as a single bitmap.

If you specify ICON, each image you add will be stored as two bitmaps in order to support transparent areas.

Width

Number

No

Width of each image in pixels

Height

Number

No

Height of each image in pixels

ColorDepth

Number

No

Specifies the color depth in bits per pixel: 4, 8, 16, 24, 32

A depth of 4 offers 16 colors, 8 offers 256 colors, ...

InitialItems

Number

Yes

Specifies the initial size (number of objects) of the ImageList.

ImageList can grow beyond this number.

 

If InitialItems is <= 0, 1 will be assumed

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software