chughes@unix1.tcd.ie (Conrad Hughes) (04/29/91)
I have been writing a small suite of wimp applications recently, and came across an annoying feature of the wimp messaging system. When a program receives a Message_PreQuit, the PRMs say... 'Note that if the user subsequently selects OK (...) the task must restart the closedown sequence by issuing a key-pressed-event (Ctrl-Shift-F12) to the task which send it the PreQuit message.' This is all fine and dandy if you select Exit from the Switcher icon, as it sends you a prequit and then a quit message. If you quit a task from the Task Display however, it also gets a prequit message from the Task Manager. Subsequently, if it follows recommendations, it tells the Task Manager that someone has just hit Ctrl-Shift-F12, and the whole Desktop starts closing down. Currently, I just completely ignore the recommendation to restart the closedown sequence... Are there any new guidelines on what should be done, as this is very silly, but it's always polite to do what the book says... (It is very obvious if you load Edit, change a document, choose quit Edit from the Task Display, and say no you don't want to save)... Merlin. (not Conrad, just using his Unix account) --SICK--Merlin Hughes-----------+------------------------------------ Internet: hughesmp@vax1.tcd.ie | Thoughts, ideas, hopes, ambitions, 42 Temple Road | Sincere in declaration, Dublin 6 | Or merely token gestures? Ireland. | Think for a minute...