Code: Select all
gui,+hwndhwnd
Gui, Show,w200 h200
OnMessage(0x0002, hwnd,"winClose")
return
winClose(wParam, lParam){
return 1
}
How can we intercept this event?
I know that can use the "GuiClose" tag, I just need an example of an intercept event.