Skip to main content

TcxCustomImageList.AddImagesFromResZipStream(THandle,string,PChar) Method

Adds all images to the end of the image list from a ZIP archive in the specified resource module.

Declaration

procedure AddImagesFromResZipStream(AInstance: THandle; const AResourceName: string; AResType: PChar);

Parameters

Name Type Description
AInstance THandle

The handle to the resource module that contains the source ZIP archive with images.

AResourceName string

The resource module.

AResType PChar

The resource type.

Remarks

Call the AddImagesFromResZipStream procedure to load all images stored in a ZIP archive within a resource module. The procedure appends the loaded images to the list with corresponding image file names in the source ZIP archive.

You can call the GetSourceFileName function to obtain file names of all images added by an AddImagesFromResZipStream procedure call.

See Also