Found it WM_Endsession. The only problem is that it fires after
WM_CLOSE. Whereas I want to know at close time why the app is
being closed.
From: Myles Penlington <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
"'NZ Borland Developers Group - Delphi List'" <[EMAIL PROTECTED]>
Subject: RE: [DUG] Shutdown
Date sent: Wed, 23 Jun 2004 16:36:31 +1200
Send reply to: NZ Borland Developers Group - Delphi List <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
> Pass on the close, but you can trap the shutdown before it gets to the
> WM_CLOSE.
>
> -----Original Message-----
> From: Rohit Gupta [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 23 June 2004 16:23
> To: NZ Borland Developers Group - Delphi List
> Subject: [DUG] Shutdown
>
>
> Is there a way for the app to know that the close message is in
> response to windows shutdown instead of user input ?Regards
>
> Rohit
>
> ====================================================
> ==================
> CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New
> Zealand
> PH (649) 489-2280
> FX (649) 489-2290
> email [EMAIL PROTECTED] or [EMAIL PROTECTED]
> ====================================================
> ==================
>
>
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi