Burgaud 3 Posted March 1 Share Posted March 1 switch GUIGetMsg(0) case $GUI_EVENT_CLOSE exit(0) How do I exclude "ESC" key from the $GUI_Event_Close? I dont want app from closing simply because user accidentally hit "ESC" key. Link to post Share on other sites
ioa747 105 Posted March 1 Share Posted March 1 I don't know if there is anything special, but you can with HotKeySet("{ESC}", "_dumy") Func _dumy() ConsoleWrite("{ESC}" & @CRLF) EndFunc ;==>_dumy Burgaud 1 Link to post Share on other sites
Musashi 739 Posted March 1 Share Posted March 1 Put Opt("GUICloseOnESC", 0) ;1=ESC closes, 0=ESC won't close somewhere in the top region of your script Burgaud, ioa747, pixelsearch and 1 other 4 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to post Share on other sites
Skysnake 95 Posted March 14 Share Posted March 14 Break(0) ; user can not break - Windows Exit required 😉 SOLVE-SMART 1 Skysnake Why is the snake in the sky? Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now