home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18122 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.6 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!agate!ames!data.nas.nasa.gov!taligent!apple!grobbins
  2. From: grobbins@Apple.COM (Grobbins)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Super-Floating Windows
  5. Message-ID: <74077@apple.Apple.COM>
  6. Date: 7 Nov 92 08:46:26 GMT
  7. References: <1d9d47INN241@zaphod.mps.ohio-state.edu> <1992Nov4.233141.20362@netcom.com> <5570@krafla.rhi.hi.is>
  8. Organization: Macintosh Hired Gun
  9. Lines: 29
  10.  
  11. In article <5570@krafla.rhi.hi.is> rson@rhi.hi.is (Mimir Reynisson) writes:
  12. >Punch a hole in the GrayRgn and do all your drawing in it. The window
  13. >manager will respect that hole at all times.
  14.  
  15. This method is problematic.  For one thing, removing a portion of a
  16. monitor from the gray region will confuse the Finder, and it will start
  17. repositioning any icons which happened to have been located under that
  18. window.
  19.  
  20. Another issue is that, once your window is off the gray region, the
  21. window manager wants nothing to do with you, so you end up doing most
  22. window management chores manually.
  23.  
  24. The most serious problem is that punching a hole assumes that you can
  25. unpunch the hole later (if the window moves or closes).  That requires
  26. knowing what the gray region should be, but what it was when you
  27. punched the hole may not be what it is when you attempt to unpunch the
  28. hole.  (The gray rgn changes if, say, one of the monitors has moved.)
  29. It is not safe to assume that the gray region should be restored to
  30. whatever it was when the hole was punched.
  31.  
  32. Sorry, but at present I don't know of a good answer on how to proceed
  33. on this.
  34.  
  35.  
  36. Grobbins                 grobbins@apple.com
  37.  
  38. Usual disclaimers apply.
  39.  
  40.