close event on Windows shutdown/logoff
BlitzMax Forums/MaxGUI Module/close event on Windows shutdown/logoff
| ||
when i shutdown my OS (and not closing my app manually) will a correct close event vw generated (EVENT_WINDOWCLOSE)? If so then how am i able to keep the computer running until i have finished some quick functions, such as a single HTTP query? |
| ||
You may want to register an OnEnd function to be called... Function OnEnd( fun() ) Add a function to be called when the program ends. OnEnd allows you to specify a function to be called when the program ends. OnEnd functions are called in the reverse order to that in which they were added. |