I can't do that because it requires DestroyWindow() which crashes GameMaker.
While using the hwnd param as the game handle can close the game:
SendMessage(hWnd, WM_CLOSE, 0, 0); I try the same thing on my browser handle and it just acts like it isn't supposed to do anything which is weird.
|