Has anyone made a function that detects and/or can intercept shutdown requests (this question has been raised here by others earlier, but no answer yet...)?
I have an application that must be able to quit properly in such an event.
To mor eor less answer my own question...: The application exit event can be used and can also intercept the shutdown. If you just want to do some other stuff first and then allow the event to continue though I assume one would have to discard the event and then programmatically create the same event again, right?