Imagelist.loadIcons Method
Loads icons from the specified resource into the image list.
Syntax
public int loadIcons(str moduleName)
Run On
Client
Parameters
- moduleName
Type: str
The name of the file from which to load images.
Return Value
Type: int
0 if the method was successful.
Examples
The following example creates a list of images and then loads the images that are contained in the shell32.dll file.
Imagelist list;
list = new Imagelist(Imagelist::iconWidth(),Imagelist::iconHeight());
list.loadIcons('shell32.dll');