Closing an application window

BlitzMax Forums/BlitzMax Programming/Closing an application window

col(Posted 2011) [#1]
Specifically on Windows...

Is it me or does anyone else have the effect of not being able to close an applications window by using the Close Icon ( red X ) in the title bar or by using ALT+F4 ??

Maybe its been discussed before? but I cant find anything. Maybe it's deliberate?

I have fixed it to work on my machine, real easy - just delete the message handling from the message loop that supposed to handle closing the window, but I'm wondering if anyone else has experienced this?

Sony Vaio VGN-FW31M
Vista Home Premium SP2


GfK(Posted 2011) [#2]
Repeat
'do stuff
Until AppTerminate()



col(Posted 2011) [#3]
Its me then :o) lol

I must be getting too bogged down in this DirectX stuff and missing the simple things :)
hehe

Thankyou Gfk.

Last edited 2011


Czar Flavius(Posted 2011) [#4]
I often do

While Not (KeyDown(KEY_ESC) Or AppTerminate())

Wend



col(Posted 2011) [#5]
Thats exactly what I'm now using :)