Check if user closed child window Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Brazolek123
Posts: 187
Joined: 06 Jun 2016, 16:02

Check if user closed child window

19 Aug 2017, 13:44

How can I know if user closed 'child' window? For the main window GuiClose label works good, but is there any easy way to know when user clicked close button?

Code: Select all

Gui, New
Gui, +hwndMainWindow
[...]
Gui, Show


Gui, Scirpt_editor: New
Gui, Scirpt_editor: +hwndScirpt_editor +AlwaysOnTop +Caption +ToolWindow 
Gui, Scirpt_editor: Add, Edit, w500 h400
Gui, Scirpt_editor: Add, Button, x400 y420 h18 gCancel_editor, Cancel
Gui, Scirpt_editor: Add, Button, x450 y420 h18 gSave_editor, Save

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 307 guests