MImgLoadFromPicture

Functions ››
Parent Previous Next

hImage = MImgLoadFromPicture( hWndPic )

Loads an image from a picture control.

Parameters
hWndPic
Window Handle: Handle of picture to load from

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

Example

Set hImage = MImgLoadFromPicture( picImage )

Remarks
The function fails if the picture contains an icon.
If you're using TD prior to version 1.5, the function works only when the picture contains a bitmap.

See also
Load functions

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software