Jump to content
Sign in to follow this  
tempman

How to close these?

Recommended Posts

dbzfanatic
tempman

You don't have a while loop so it should close automatically anyway.

it should, but don`t, try

Share this post


Link to post
Share on other sites
dbzfanatic
NeoFoX

Hey,

This works... BUT it's not a great solution because it's now in every for-loop watching for a close...

#include <GuiConstants.au3>
GuiCreate("", 400, 400)
Dim $array[5000]
GuiCtrlCreateProgress(10, 50, 300, 20)
GUISetState()

For $i=0 To Ubound($array)-1
    sleep(50)
    GUICtrlSetData(-1,$i)
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Next

Greetz,

Neo


[center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/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  

×

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.