MImgLoadFromResource

Functions ››
Parent Previous Next

hImage = MImgLoadFromResource( sResource, nType, nFrame )

Loads an image from a SQL Windows resource.

Parameters
sResource
String: The name of the resource to load

nType
Number: Specify MIMG_TYPE_UNKNOWN to let M!Image detect the type or one of the supported image types.

nFrame
Number: Frame number. See About Frames for further information.

Return
Number: Handle of the image or 0 if an error occurs

Example

Set hImage = MImgLoadFromResource( "bmpImage", MIMG_TYPE_UNKNOWN, 0 )

See also
Load functions

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites