Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - check if application can be closed http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Check if application can be closed
--------------------------------------------------------------------------------
   Syntax: TDialog():QueryEndSession() --> <lNoEnd>


   Returns:
   <lNoEnd> is a logical which represents whether or not the Windows
   session may be ended.  If <lNoEdn> is .T.  the Windows session my NOT be
   ended.  If <lNoEnd> is .T.  the Windows session may be ended.

   Comments:
   The QueryEndSession() method is called by the eventhandler whenever
   Windows sends a WM_QUEYENDSESSION to a dialog box.  This message is
   sent to a dialog box if the user wants to end the MS-Windows session.
   The QueryEndSession() will return .T.  if the windows session is NOT
   allowed to end.  Otherwise QueryEndSession() returns .F..


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson