Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!uflorida!gatech!hubcap!jcocon From: jcocon@hubcap.clemson.edu (james c oconnor) Newsgroups: comp.sys.mac.programmer Subject: FAQ - how do I change the mouse's location? Message-ID: <1991Apr15.150330.3085@hubcap.clemson.edu> Date: 15 Apr 91 15:03:30 GMT Organization: Clemson University Lines: 17 Hi - I'm writing a stack which is to be used by complete novices who won't go through "Introduction to the Mac", so they will know very little of the interface. In response, I've made my fields select themselves when the mouse enters their rectangle. The problem is that when the user tabs to the next field, and the mouse stays in the last field, after the user types their first character into the new field, mouseEnter gets sent to the old field (why? I don't know, the mouse hasn't moved any!) The only way I can think of changing this is to set the mouselocation to be somewhere within the new field which is being tabbed into. Hence, my question. If you know of a better way, or which system calls to make to move the mouse I'd appreciate the help. (I can do XCMDs, so the toolbox calls are fine) Thanks, Jim