home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / hypercar / 3185 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.9 KB  |  46 lines

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