By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cImageList
Attribute | Value |
Description | Gets/sets the number of colours the image list will suport. |
Property Browser Page | ppgControl |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eDepth | eilColourDepth |
Attribute | Value |
Description | Gets the COMCTL32 hImageList handle to the current image list, or 0 if there is no image list. |
Procedure ID | Default |
Attribute | Value |
Description | Gets/sets the width of the images in the list. Has no effect a runtime unless you call the Create method. |
Property Browser Page | ppgControl |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lSizeX | Long |
Attribute | Value |
Description | Gets/sets the height of the images in the list. Has no effect a runtime unless you call the Create method. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lSizeY | Long |
Attribute | Value |
Description | Gets the number of images in the Image List. |
Property Browser Page | ppgImages,Property Category |
Optional | ByVal/ByRef | Variable | Datatype |
Optional | ByVal | vStartKey | Variant |
Optional | ByVal | vEndKey | Variant |
Optional | ByVal | oBackColor | OLE_COLOR(vbButtonFace) |
Attribute | Value |
Description | Returns a Picture object containing a bitmap with all the image list images in a horizontal strip. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Makes a copy of a specified image in the image list into an icon and returns the hIcon handle. You must use DestroyIcon to free this handle. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Returns the API index (0 based) for the image with a specified key. |
Attributes | Don't show in property browser |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | iIndex | Long |
Attribute | Value |
Description | Returns the key for an image with the specified index. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | iIndex | Long | |
ByVal | vKey | Variant |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Returns a Picture object containing an image in the Image List. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sKey | String |
Attribute | Value |
Description | Returns the current system colour depth. Use it to determine whether to load 16 or 256 colour icons from a resource file at run-time. |
Attribute | Value |
Description | Clears all images in the list and creates a new image list. |
Attribute | Value |
Description | Deletes the image list (if any) from memory. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant | |
ByVal | hdc | Long | |
ByVal | xPixels | Integer | |
ByVal | yPixels | Integer | |
Optional | ByVal | bSelected(False) | |
Optional | ByVal | bCut(False) | |
Optional | ByVal | bDisabled(False) | |
Optional | ByVal | oCutDitherColour | OLE_COLOR(vbWindowBackground) |
Optional | ByVal | hExternalIml | Long(0) |
Attribute | Value |
Description | Draws an Image from the image list onto a device context. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKey | Variant |
Attribute | Value |
Description | Removes an image from the image list. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | vKeySrc | Variant | |
ByVal | vKeyDst | Variant | |
Optional | ByVal | eSwap | eilSwapTypes(eilSwap) |
Attribute | Value |
Description | Swaps two images or copies an image to another position in the image list. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sFileName | String | |
ByVal | iType | ImageTypes | |
Optional | ByVal | vKey | Variant |
Optional | ByVal | bMapSysColors | Boolean(False) |
Optional | ByVal | lBackColor | OLE_COLOR(-1) |
Optional | ByVal | vKeyAfter | Variant |
Attribute | Value |
Description | Adds an image or series of images to the image list from a bitmap or icon file. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hImage | Long | |
ByVal | iType | ImageTypes | |
Optional | ByVal | vKey | Variant |
Optional | ByVal | lBackColor | OLE_COLOR(-1) |
Optional | ByVal | vKeyAfter | Variant |
Attribute | Value |
Description | Adds an image or series of images to the image list from a bitmap or icon GDI handle. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hdc | Long | |
pic | Object | ||
Optional | ByVal | vKey | Variant |
Optional | ByVal | LeftPixels | Long(0) |
Optional | ByVal | TopPixels | Long(0) |
Optional | ByVal | lBackColor | OLE_COLOR(-1) |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | hInst | Long | |
ByVal | iType | ImageTypes | |
Optional | ByVal | vKey | Variant |
Optional | ByVal | bMapSysColors | Boolean(False) |
Optional | ByVal | lBackColor | OLE_COLOR(-1) |
Optional | ByVal | vKeyAfter | Variant |
Attribute | Value |
Description | Adds an image or series of images to the image list from a resource identifier. |
Attribute | Value |
Description | Clears the existing image list (if any) and creates a new one. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sFile | String |
Attribute | Value |
Description | Loads a set of images from a file previously created with the SaveToFile method. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sFile | String |
Attribute | Value |
Description | Saves the current image list image data to a file. This can be read in at another point with LoadFromFile. |