En/na Paul Ishenin ha escrit:
JoshyFun wrote:
In Windows world you must handle the WMQueryEndSession message, I had
done it in Delphi in the past but never in Lazarus. You can try this
Delphi snippet http://delphi.about.com/cs/adptips2000/a/bltip0500_4.htm
Application.OnEndSession executes by this message.
OnQueryEndSession (invoked earlier than OnEndSession) can also cancel
the shutdown.
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133) Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus