There is, but some other app can decide not to let windows 
shutdown.  However, this is the best I have and I am setting a flag 
in there.  I would have liked it to be better - an api call in formclose 
to determine why would have done the trick just right.

From:                   [EMAIL PROTECTED]
To:                     [EMAIL PROTECTED]
Date sent:              Thu, 24 Jun 2004 10:44:20 +1200 (New Zealand Standard Time)
Subject:                [DUG] RE: DUG Shutdown
Send reply to:          NZ Borland Developers Group - Delphi List <[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]>

> Hi Rohit,
> 
> Isn't there a WM_QueryEndSession?  I'm not sure when that fires, but it should be 
> before WM_CLOSE.
> 
> Regards,
> 
> Bevan
> 
> 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

Reply via email to