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