Curious to know how to deal with the following:
While in Run() I can check a keyboard shortcut for Yes/No to see if the user wants to quit, perform some kind of tidy up, eg: save something to a file, then return orxSTATUS_FAILURE it order to trigger an exit.
Then Exit() will be hit.
But I notice that if you click the window close gadget, or (under windows) Alt-F4, then only the Exit() function is triggered.
There doesn't seem to be a way to detect a close event, allow the user to be presented with a choice to cancel the close.
It could be that Orx is not able to tie in that intimately with the parent window system?
This isn't a deal breaker but would be good to have all ways of closing an application do the same thing or to cancel a close.