I wanted to set a background image, and started with this code :
Code: Select all
UseJPEGImageDecoder(
;- Image Globals
Global Image0
;- Catch Images
Image0 = CatchImage(0, ?Image0)
If (Image0 = 0)
Debug "error images"
EndIf
;- Images
DataSection
Image0 :
IncludeBinary "C:\myrep\myimage.jpg"
EndDataSection
Code: Select all
Open_Window_0()
StartDrawing(WindowOutput())
DrawImage(Image0, 0, 0, 667, 275)
StopDrawing()
Same if i minimize the window and open it again, the image has disapeared completly.
Is there something I miss ?



