Application window close button question?
BlitzMax Forums/BlitzMax Beginners Area/Application window close button question?
| ||
This may be a silly little question but i havenīt found any info on it. Iīve written a small application in Blitzmax running in a window (on windows 7). Iīve made a "close/quit" button in the actual application, but how do i get the close/quit button in the upper right corner of the window to work? The minimize button works, but not the x button. /Peter |
| ||
Put in your update loop, If AppTerminate() Then End |
| ||
Hah, I suspected it was something very simple. Thanks! |
| ||
Or make your loop depend on it:While Not AppTerminate() Wend |