Sign in to follow this  
Followers 0
UQOII

Gui window frozen?!

2 posts in this topic

If i press the first button of the toolbar then starts function1()

Then will the toolbar not respond if i click on close button or wil slide open again if i press the [>] button.

The main program is a sliding toolbar from Simucal

Func Function1()
    
    Slide_out()
    
    $misdaad = _IECreate ("www.google.com", 1, 1, 0)
    $dll = DllOpen("user32.dll")
    
While 1
    Sleep ( 250 )
    If _IsPressed("10", $dll) Then
        Send("{Enter}")
        sleep(1000)
        _IEQuit($misdaad)
        _TimerMisdaad()
        ExitLoop
    Else

    EndIf
WEnd
DllClose($dll)

EndFunc

Func _TimerMisdaad()
    GUISetState(@SW_SHOW, $hwnd)
    Sleep (100000)
     Function1()
EndFunc

[center]uqoii.nl[/center]

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