Scanzee Posted July 28, 2005 Share Posted July 28, 2005 My .gif dont work? I use it as background for gui! Normaly gifs always move but now it isn't can someone help me? ps: the gui has also buttons! Thanks scanzee products Link to comment Share on other sites More sharing options...
GaryFrost Posted July 28, 2005 Share Posted July 28, 2005 You'll need to post your code and maybe the gif. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Scanzee Posted July 28, 2005 Author Share Posted July 28, 2005 #include <GUIConstants.au3> Opt("GUIOnEventMode",1) $GUI = GUICreate("Optie - menu",550,549, "") $background = GUICtrlCreatePic("*.gif",-1,40,550,509) GUICtrlSetState(-1,$GUI_DISABLE) button .... button GUISetState() While 1 Wend Link to comment Share on other sites More sharing options...
Josbe Posted July 28, 2005 Share Posted July 28, 2005 ...$background = GUICtrlCreatePic("*.gif",-1,40,550,509)...<{POST_SNAPBACK}>You cannot do that. Specify a name. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
seandisanti Posted July 28, 2005 Share Posted July 28, 2005 My .gif dont work?I use it as background for gui! Normaly gifs always move but now it isn't can someone help me?ps: the gui has also buttons!Thanks scanzee products<{POST_SNAPBACK}>Just to make sure i'm understanding this correctly, you're using an animated gif taht is not being animated when used as a background to a gui, correct? If that is the case, i don't think that you can use an animated gif for a background on a gui (i'm sure someone will correct me if i'm wrong) because when the form is re-drawn (constantly, that's how it stays on screen) the image is re-applied. like a movie that is loaded over and over in the same player, it won't go past the first frame, or image that is being displayed... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now