MImgLoadFromModuleNamed
hImage = MImgLoadFromModuleNamed( sModule, nType, sResName, nFrame )
Loads an image from a named resource of a module, e.g. a DLL or an EXE.
Parameters
sModule
String: The name of the module.
nType
Number: Specify MIMG_TYPE_ICO to load an icon resource or MIMG_TYPE_BMP to load a bitmap resource.
sResName
String: The name of the resource to load.
nFrame
Number: Frame number. See About Frames for further information.
Return
Number: Handle of the image or 0 if an error occurs
Example
In this example the bitmap resource "NEXTREC" is loaded from cdlli15.dll:
Set hImage = MImgLoadFromModuleNamed( "cdlli15.dll", MIMG_TYPE_BMP, "NEXTREC", 0 )
See also
Load functions
Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor