Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!mips!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ysub!psuvm!blekul11!gutest8 From: GUTEST8@cc1.kuleuven.ac.be (Ives Aerts) Newsgroups: comp.sys.amiga.programmer Subject: Re: How to do a "MovePointer()"? Message-ID: <91170.181652GUTEST8@cc1.kuleuven.ac.be> Date: 19 Jun 91 18:14:52 GMT References: <19997@csli.Stanford.EDU> <1382@cbmger.UUCP> Organization: K.U.Leuven - Academic Computing Center Lines: 25 In article <1382@cbmger.UUCP>, peterk@cbmger.UUCP (Peter Kittel GERMANY) says: > >In article <19997@csli.Stanford.EDU> bratt@csli.Stanford.EDU (Harry Bratt) >writes: >>I need to change the position of Intuition's mouse pointer. I >>don't need lots of low-level control (like recording mouse movements >>and playing them back), I just need a single re-positioning once >>in a while. > >Look into the RKMs with the Input device. You can create Input events >of the Pointerpos kind. This will do exactly what you want. That's the way to do it. But are you really *SURE* you have to do it ? I don't like other programs to mess around with the mouse pointer. And if you do, set it back to it's original position afterwards. Again: think twice before doing such a thing. If there exists another (legal) way to do what you want then do it that way, even it that method needs more code. ------------------------------------------------------------------------ Ives Aerts | IBM definition SY-34378 GUTEST8@BLEKUL11.BITNET | A signature consists of sequences of gutest8@cc1.kuleuven.ac.be | non-blank characters separated by blanks. ------------------------------------------------------------------------