Hi
I have a security app that is being closed down by users, who will initiate a shutdown while another program has data unsaved, most programs are closed, except for the message that says about unsaved data and offeres the option of cancelling. If they click cancel, they can continue using the system but my app has closed down.
I have seen posts that trap WMQueryEndSession and display a message, but I cant seem to work out how to simply use it to ensure my application is the last to close.
If anyone could shed light on this I would grateful.
Pete