home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22128 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.1 KB

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!decwrl!apple!mumbo.apple.com!tom_klein@magic-bbs.corp.apple.com
  2. From: tom_klein@magic-bbs.corp.apple.com
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: trapping system events
  5. Message-ID: <1993Jan23.121255.446196@magic-bbs.corp.apple.com>
  6. Date: 23 Jan 93 17:12:55 GMT
  7. Article-I.D.: magic-bb.1993Jan23.121255.446196
  8. Distribution: na
  9. Organization: Macintosh Awareness Group In Canada
  10. Lines: 19
  11.  
  12. i need some tips on how to intercept certain system events. in order to keep
  13. track of documents, i want to know when:
  14.  
  15. 1) an existing document is opened
  16. 2) a new, untitled document is created
  17. 3) a document's window is brought to the foreground (which implies that
  18. everybody else isn't)
  19. 4) a document is closed.
  20.  
  21. and all of this from *other* applications than my own (my stuff "lives" in
  22. a system extension).
  23.  
  24. ...... tom
  25.  
  26. ps.  references to published examples would be simply TERRIFIC.
  27. ***********************************************************
  28. The views expressed in this posting are those of the individual author
  29. only.
  30. ***********************************************************
  31.