Hello Peoples!!
Firstly let me say thanks in advance for any assistance rendered.
Sorry if the title is a bit misleading, best I could come up with at the time.
Here is the problem, as I understand it anyway....
I have been developing (mainly learning from) scripts "B", "C" & "D" over quite a long period of time for daily use at work. I have got all three to the point where they are almost finished and decided that I would create script "A" as kind of launcher and active GUI manageme
It can be reproduced without external process: #include <GUIConstantsEx.au3>
Opt("GUICloseOnESC", 0)
$hGUI = GUICreate("Test Script", 300, 200)
GUISetState(@SW_SHOW, $hGUI)
WinClose($hGUI)
WinKill($hGUI)
While GUIGetMsg() <> $GUI_EVENT_CLOSE
WEnd And BTW, we can workaround this by sending Alt+F4 to the window: ControlSend($hGUI, "", "", "!{F4}") Or by cathing the WM_CLOSE message (wich is the best solution, it will cover up all the external attempts to close the window): #