Hi Experts. I have an application with a lot of data that runs minimized. If the PC is shutdown unknowingly, there is the possibility of lost data. I would like to ensure that when the user shuts down the PC with the app still running , that the shutdown process is paused while the user is asked if all data is saved or whatever with the option to return to the app or continue to shutdown.
I've read a lot of nonsense about that fact that we shouldn't be upsetting the user be interfering with the shutdown process, but I see this behaviour is already present in some apps in W7 and for some apps it is very sensible.
There doesn't seem to be a definitive method that I could find
Many thanks in advance for any assistance