home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!eff!world!siegel
- From: siegel@world.std.com (Rich Siegel)
- Subject: Re: Super-Floating Windows
- Message-ID: <BxD0Lu.Bzw@world.std.com>
- Organization: GCC Technologies
- References: <1992Nov4.233141.20362@netcom.com> <5570@krafla.rhi.hi.is> <74077@apple.Apple.COM>
- Date: Sat, 7 Nov 1992 18:56:17 GMT
- Lines: 23
-
- In article <74077@apple.Apple.COM> grobbins@Apple.COM (Grobbins) writes:
-
- >The most serious problem is that punching a hole assumes that you can
- >unpunch the hole later (if the window moves or closes). That requires
- >knowing what the gray region should be, but what it was when you
- >punched the hole may not be what it is when you attempt to unpunch the
- >hole. (The gray rgn changes if, say, one of the monitors has moved.)
- >It is not safe to assume that the gray region should be restored to
- >whatever it was when the hole was punched.
-
- Actually, monitors can't move except across restarts of the system, so
- unless some other program messes with the GrayRgn, you can probably
- un-punch your hole. It isn't safe to simply restore the GrayRgn, but
- you can probably UnionRgn the punched hole back in.
-
- R.
-
-
- --
- -----------------------------------------------------------------------
- Rich Siegel Internet: siegel@world.std.com
- Software Engineer & Toolsmith
- GCC Technologies
-