home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com
- From: D4161@AppleLink.Apple.COM (Adept, John DiBiasi,PAS)
- Newsgroups: comp.sys.mac.oop.macapp3
- Subject: Re: How can I detect overlappi
- Message-ID: <728051870.7209151@AppleLink.Apple.COM>
- Date: 26 Jan 93 12:16:00 GMT
- Sender: usenet@Apple.COM
- Organization: AppleLink Gateway
- Lines: 12
-
- >[1] MacApp makes it possible to change from the program
- > the relative position of a view from its superView using?
-
- >[2] Can I detect from my program if two views are just about to start
- > overlapping (they share an edge or a corner)?
-
- (1) Use the Locate() Method.
-
- (2) Depending upon the characteristics of what you're displaying, check out the
- Quickdraw SectRect and SectRgn calls which identify if there is an intersection
- between two rectangles or regions.
-
-