home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / atari / st / tech / 6437 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.7 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!wtrlnd!nextjk!fidonet!p15.f202.n281.z2.fidonet
  2. From: Vincent_Partington@p15.f202.n281.z2.fidonet
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: What use is the AP_TERM message?
  5. Message-ID: <2b444d52@p15.f202.n281.z2.fidonet>
  6. Date: 1 Jan 93 13:48:50 GMT
  7. Reply-To: p15.f202.n281.z2.fidonet!Vincent_Partington@nextjk.wlink.nl
  8. Lines: 29
  9. X-FSC-PID: LED 1.00
  10.  
  11. Hi everyone,
  12.  
  13. I had a chance to have a look at MultiTOS at a friend who is an official
  14. MultiTOS beta-tester and I was very impressed by it.
  15. While I was there I had a look at some of the very interesting
  16. documentation that goes with it and a saw in GEM.DOC that there are some
  17. new events: WM_UNTOPPED, WM_ONTOP, AP_TERM and some others.
  18.  
  19. I thought AP_TERM was very interesting until I tried it out; I had my own
  20. program catch that event and respond appropiately by quitting, AFTER
  21. cleaning up some stuff.
  22. But I found out that an AP_TERM message nearly never gets delivered, Mint
  23. just gives you a signal when you're supposed to quit (for example if the
  24. user deletes your process from U:\PROC\) and because my program didn't
  25. catch signals it was just terminated without getting an opportunity to
  26. clean up some things. Now I don't mind catching the signals but I was just
  27. wondering what the use of AP_TERM is if you never get it....
  28.  
  29. According to the documentation you get it when the system shuts down or
  30. when the resolution changes. However, the resolution only changes when all
  31. programs have already quit (just try changing the resolution from the
  32. desktop, you'll see what I mean) and there's no way (yet) to shut down the
  33. machine. So what use is AP_TERM??
  34.  
  35. Ta!
  36.     Vincent
  37.  
  38. --- MARSmail v1.20/4D
  39.  * Origin: GigaMusic, the best music player money doesn't need to buy (2:281/202.15)
  40.