Jump to content

GUICtrlCreateAvi issue in Shell32.dll (Win7)


JScript
 Share

Recommended Posts

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!

Link to comment
Share on other sites

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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...