Jump to content

How to close these?


tempman
 Share

Recommended Posts

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]

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...