Jump to content

Recommended Posts

Posted

im trying to test animating a simple gif file... the .gif comes up but it doesn't move and im not sure what I did wrong.. any assistance is appreciated.

#AutoIt3Wrapper_Res_File_Add=C:\temp\arrow_logo.gif, rt_rcdata, TEST_JPG_1

#include "resources.au3"
$arrow_logo = "C:\temp\arrow_logo.gif"
$gui = GUICreate("Data from resources simple example 1",400,150)
$pic1 = GUICtrlCreatePic($arrow_logo,0,0,400,150)
_ResourceSetImageToCtrl($pic1, "TEST_JPG_1") ; set JPG image to picture control from resource
GUISetState(@SW_SHOW)

While 1
 If GUIGetMsg() = -3 Then Exit
WEnd

I looks pretty simple but cant get it to work. I im on Win8.1, IE11 and using the newest autoit version.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...