Restored from previous forum. Originally posted by PB.
NOTE: You may wish to visit the following post to see how to compile
an animated gif as part of your executable, instead of loading it as a
separate file:
viewtopic.php?t=2047
The tip:
Code: Select all
; Example of an AnimGIF inside a window.
; By PB -- do whatever you want with it.
;
; IMPORTANT: Read PureBasic's requirements for WebGadgets!
;
If OpenWindow(0,200,200,450,200,"Test",#PB_Window_SystemMenu)
url$="C:\AnimGIF.gif" ; You *must* specify the full path to the animgif for this to work!
WebGadget(0,0,0,450,200,url$)
Repeat
ev=WaitWindowEvent()
Until ev=#PB_Event_CloseWindow
EndIf
PB - Registered PureBasic Coder