🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #383

Re: How can I detect overlappi

#383
From: Adept, John DiBiasi,PAS
Date: Tue, 26 Jan 1993 12:16
12 lines
879 bytes
>[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.
 
Technical Details
Message-ID: <728051870.7209151@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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