05-15-2012, 11:09 AM
Macro Macro1717
LoadPictureFile does not support png. If need, can be used GflAx graphic library.
__GdiHandle hb=LoadPictureFile("$documents$\foto\kamane.JPG")
if(!hb) end "failed"
str sTempFile="$temp$\qm_bitmap.bmp"
if(!SaveBitmap(hb sTempFile)) end "failed"
act "Paint"
sTempFile.setsel(CF_BITMAP)
LoadPictureFile does not support png. If need, can be used GflAx graphic library.