This message is broadcasted when Ctrl-Shift F12 is pressed. It is also sent to a specific task, when the user tries to quit it from the task display menu. If you have no objections to being killed, then ignore this message, and you will eventually receive a Quit message. If you object to being killed (unsaved data..), you should acknowledge this message, and then open a dialogue box asking the user what to do. If the user chooses to quit and the 'flag' was zero, you are supposed to restart the closedown sequence by emitting a Ctrl-Shift F12 (508), using Wimp_ProcessKey.
|