MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / Cancel

Method Cancel

source/script_gui.cpp:7649–7658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7647
7648
7649void GuiType::Cancel()
7650{
7651 if (mHwnd)
7652 {
7653 ShowWindow(mHwnd, SW_HIDE);
7654 VisibilityChanged(); // This may Release() and indirectly Destroy() the Gui.
7655 }
7656 // If this Gui was the last thing keeping the script running, exit the script:
7657 g_script.ExitIfNotPersistent(EXIT_CLOSE);
7658}
7659
7660
7661

Callers 1

MsgSleepFunction · 0.80

Calls 1

ExitIfNotPersistentMethod · 0.80

Tested by

no test coverage detected