Jump to content
Sign in to follow this  
JScript

GUICtrlCreateAvi issue in Shell32.dll (Win7)

Recommended Posts

JScript

Hello

I realized that the only resource that works is 165!!!

#include <GUIConstantsEx.au3>

Opt('MustDeclareVars', 1)

Example()

Func Example()
    Local $ani1, $buttonstart, $buttonstop, $msg

    GUICreate("My GUI Animation", 300, 200)
    $ani1 = GUICtrlCreateAvi(@SystemDir & "\shell32.dll", 165, 50, 10)

    $buttonstart = GUICtrlCreateButton("start", 50, 150, 70, 22)
    $buttonstop = GUICtrlCreateButton("stop", 150, 150, 70, 22)

    GUISetState()

    ; Run the GUI until the dialog is closed
    While 1
        $msg = GUIGetMsg()

        Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop

            Case $msg = $buttonstart
                GUICtrlSetState($ani1, 1)

            Case $msg = $buttonstop
                GUICtrlSetState($ani1, 0)

        EndSelect
    WEnd
EndFunc   ;==>Example

If you exchange for another (150-169) only the 165 works!


http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites
trancexx

What do you need Jos for? :unsure:

You are on that kind of system where only 165 works. Win7 probably. Clear enough?

edit: ah, I see you say win7 in the title

Edited by trancexx

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
JScript

What do you need Jos for? :unsure:

You are on that kind of system where only 165 works. Win7 probably. Clear enough?

edit: ah, I see you say win7 in the title

Jos -> Group: Developers(Dev)

I think that he or any other belonging to the group (Dev) would be more suitable to answer...

You did not showed me a solution, just said what I already knew...

Well, but it's a good start, thanks!


http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.