MImgCreateHICON
hIcon = MImgCreateHICON( hImage )
Creates a HICON from an image.
Parameters
hImage
Number: Handle of the image
Return
Number: Handle of the icon if successful or 0 if an error occurs
Example
In this example an icon is created and displayed in a picture:
Set hIcon = MImgCreateHICON( hImage )
Call SalPicSetHandle( pic1, PIC_FormatIcon, hIcon )
Remarks
Don't forget to delete the created icon with DestroyIcon.
See also
MImgCreateCopy
MImgCreateCopyEx
MImgCreateHBITMAP
MImgCreateVisPic
Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files