Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: "DeltaMoveWindow"? Message-ID: <29038@ucbvax.BERKELEY.EDU> Date: 4 May 89 10:23:29 GMT References: <1907@etive.ed.ac.uk> <1908@etive.ed.ac.uk> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 13 In article <1908@etive.ed.ac.uk> nick@lfcs.ed.ac.uk (Nick Rothwell) writes: _>I was rather surprised to find that the Window Manager doesn't have a _>DeltaMoveWindow trap - there's only MoveWindow, which is absolute. _>This is what _>I came up with - ugly, but it seems to work. If anybody has a nicer way of _>doing this, I'd really like to know...! The posted code doesn't handle the following issues: 1.) windows based on a color grafport 2.) attempts to move a window off of any CRT 3.) Windows where SetOrigin() has been used to make the origin not 0,0. I am not sure that all of these are problems, but surely some of them are.