home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!stanford.edu!kronos.arc.nasa.gov!joshr
- From: joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91)
- Subject: Re: Trapping messages between windows?
- Message-ID: <1992Aug22.000709.27208@kronos.arc.nasa.gov>
- Sender: usenet@kronos.arc.nasa.gov (Will Edgington, wedgingt@ptolemy.arc.nasa.gov)
- Nntp-Posting-Host: kronos-arclan.arc.nasa.gov
- Organization: NASA/ARC Information Sciences Division
- References: <14344@mindlink.bc.ca>
- Date: Sat, 22 Aug 1992 00:07:09 GMT
- Lines: 33
-
- In article <14344@mindlink.bc.ca> John_Miller@mindlink.bc.ca (John Miller) writes:
- >In message <1992Aug17.070911.10151@usage.csd.unsw.OZ.AU>,
- >cnquinn@spectrum.cs.unsw.oz.au (Clark Quinn) writes
- >> While talking to two of my students who are working on an
- >> adventure game implementation, we came across an interesting
- >> bit of HyperCard behavior we were wondering if anyone could
- >> illuminate:
- >
- [makes point about quirk in HC]
- [ is trying to track mouse in drag outside HC window]
-
- Well, I don't do much with hyupercard, but see one method to get around
- this problem.
- Create an XCMD that is calledon every mousedown in a stack that
- tracked the mouse movement and returned where they released the button.
- Of course the big prob here is that this may interfere with
- HC standard thigs, and you wouldn't want to intercept
- the mouseUp. But perhaps there is some fancey way of doing this.
-
- It's definitley not trivial to write an XCMD that does this smoothly. E
-
- Excuse all the extra E's. I've beeen here a while now. (Whoops, there
- I goe again. {;-} )
-
- Best of luck -- I dont think tracking the mouse outside the HC window
- is a very easy task. -- But I could be wrong.
-
-
- --
- ----------------------------------
- #include <std/disclaimer.h> Josh Rabinowitz, Mac TCL programmer
- joshr@kronos.arc.nasa.gov
- "Send a salami to your boy in the army" - Katz's delicatessen, NYC
-