Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!clout!chinet!miroc!caw From: caw@miroc.Chi.IL.US (Christopher A. Wichura) Newsgroups: comp.sys.amiga.programmer Subject: Re: How to do a "MovePointer()"? Message-ID: Date: 19 Jun 91 19:17:35 GMT References: <19997@csli.Stanford.EDU> Lines: 26 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 >Currently I'm doing: > >IntuitionBase->MouseX = x; >IntuitionBase->MouseY = y; >SetPointer(...); > >This appears to work.... but... The above looks kinda illegal to me. What you might consider is doing something like this: lock = LockIBase(0); CurX = IntuitionBase->MouseX; CurY = IntuitionBase->MouseY; UnlockIBase(lock); -=> CAW Christopher A. Wichura Multitasking. Just DO it. caw@miroc.chi.il.us (my amiga) ...the Amiga way... u12401@uicvm.uic.edu (school account)