Hi Richard,

This is - unfortunately - the normal operational mode for the EndHandler routine. Some 
kind of PreEndHandler would've been nice, but
....

The only ways to prevent the warnings is to either remove the cause for them prior to 
letting the user close down, or preventing the
user from forcing a shutdown. The first is tought, the latter is almost impossible.

It is possible to prevent window closures (SysMenuClose Off), and you can disable 
certain menu items (e.g. File/Exit), forcing the
user to shutdown thru your app. But it's not fool-proof, and can always be 
circumvented :-(

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/
http://hjem.get2net.dk/lars-online/
WGS84: 10.26'40"E 55.20'20"N
----- Original Message -----
From: "Richard Greenleaf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 8:48 PM
Subject: MI-L EndHandler - asking again


I'm still struggling with this problem - if anyone has advice I'd be very grateful for 
it.

- Richard
  ----- Original Message -----
  From: Richard Greenleaf
  To: [EMAIL PROTECTED]
  Sent: Sunday, March 23, 2003 11:03 PM
  Subject: EndHandler not working


  I have an MB application that creates various temporary data in tables and in the 
Cosmetic layer.   None of this needs to saved
permanently, and when the user closes MapInfo I want it to end neatly without 
prompting to save the temporary data.
  I tried using an EndHandler routine to clean up these tables, but MI doesn't call 
the EndHandler until AFTER prompting to save the
data.
  Is this normal operation for EndHandler, or I am I not using it properly?
  How else can I stop the unwanted prompts?
  - Richard


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 6136

Reply via email to