Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: moving mouse pointer under program control Message-ID: <6443@hoptoad.uucp> Date: 3 Feb 89 19:50:58 GMT References: <17871@gatech.edu> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 23 In article <17871@gatech.edu> robinson@pravda (Stephen M. Robinson) writes: >We are using THINK (LightSpeed) C 3 and need to do the following: > > click on a Rect region, hide the cursor, move the mouse point > to another Rect (window) and show the cursor again (based upon > contents of the first Rect region) Don't. In the Mac metaphor this is the equivalent of grabbing the user's finger and jerking it around. The mouse is not to be moved under software control except for helping the disabled. If you need to indicate something else as a result of a click, then use a rolling outline like MacPaint selections, a flashing hilite, or some other technique that doesn't violate the guidelines. I have spoken with people who used mouse-moving software on other computers and the results were *always* confusing and misleading, even to wizards. I know how to do this, but I'm not going to tell you, and there are good reasons Apple doesn't document it either. -- Tim Maroney, Consultant, Eclectic Software, sun!hoptoad!tim "I slept with Faith, and found a corpse in my arms on awaking; I drank and danced all night with Doubt, and found her a virgin in the morning." -- Aleister Crowley, THE BOOK OF LIES