TanerJames Posted July 16, 2010 Share Posted July 16, 2010 Hi, i want to use AVI for my GUI (from resource) problem : AVI transparent but if picture not correctly show AVI 1. how i do transparent AVI on picture? 2. how i do use AVI from resource ? #include <GUIConstantsEx.au3> #include<aviConstants.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $ani1, $buttonstart, $buttonstop, $msg GUICreate("My GUI Animation", 500, 200) GUICtrlCreatePic("mslogo.jpg", 10, 50, 200, 50) $ani1 = GUICtrlCreateAvi(@SystemDir & "\shell32.dll", 165, 150, 30,-1,-1,BitOr($GUI_SS_Default_Avi, $ACS_AutoPlay, $ACS_TRANSPARENT)) GUISetState() ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd EndFunc ;==>Example thanks best regardsAVI problem.zip 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