Sign in to follow this  
Followers 0
Astaroth

Terminate script

4 posts in this topic

#1 ·  Posted (edited)

Can someone tell me how to terminate the whole program with the close ( X ) button while its "sleeping" for example ? I'm searching for something like

HotKeySet ("{ESC}","quit")

......

Func quit()

Exit

EndFunc

And one more thing - is there a way to create a GUI without the minimize and the close buttons ?

10x in advance.

Edited by Astaroth

Share this post


Link to post
Share on other sites



Yeah, check out Koda Form Designer, it helps you use these. Try this:

GUICreate("GUI", 295, 190, -1, -1, $WS_CLIPSIBLINGS, 0)
GUISetState()
While 1
WEnd

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Yeah that works. 10x a lot ;]

Edited by Astaroth

Share this post


Link to post
Share on other sites

Glad it helped!

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