In my QuickWin application I have a callback routine used when the user selects File > Exit. I use this to remind the user to save files if needed. Works just fine.
However when the user clicks on the Title Bar X, or shuts down the computer my routine is bypassed!
My callback routine is called "progexit". Is there something else I could call it to have it called when exiting as above?