Reliable way to do something on shutdown?

J. Landman Gay jacque at hyperactivesw.com
Wed Jun 19 00:03:17 EDT 2013


On 6/18/13 10:51 PM, Paul D. DeRocco wrote:
>> From: J. Landman Gay
>>
>> ShutdownRequest is sent when the user tries to quit.
>> CloseStackRequest
>> is sent when they try to close a window, like when they click on the
>> close box.
>
> Sounds like I need to handle both, then. It seems "wrong" to me that there
> is no message that universally indicates shutdown, no matter how it is
> invoked, but I guess I can live with it.
>

Well, on a Mac, closing the last window doesn't shut down the app. The 
app stays resident and sits there with nothing but its menu bar showing, 
waiting for you to choose Quit. :)

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list