Sign in to follow this  
Followers 0
TanerJames

AVI transparent problem & resource problem

1 post in this topic

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 regards

AVI problem.zip

Share this post


Link to post
Share on other sites



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
Sign in to follow this  
Followers 0