Path: utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!usc!apple!fox!portal!atari!kbad From: kbad@atari.UUCP (Ken Badertscher) Newsgroups: comp.sys.atari.st Subject: Re: GEM HELP Keywords: mouse position, cellaray Message-ID: <1815@atari.UUCP> Date: 22 Nov 89 02:31:13 GMT References: <916@loria.crin.fr> Organization: Atari Corp., Sunnyvale, CA Lines: 17 domen@wiener.crin.fr (Eric Domenjoud) asks: | 1/ How do I put the mouse at a specified location on the screen ? You need to intercept the mouse cursor change vector, which is an interrupt routine, and feed the coordinates you want to the AES. Check the vex_motv() function documentation in whatever books you're using. | 2/ How do I bound the mouse to a box xmin-xmax,ymin-ymax ? With your own mouse interrupt handler installed, you can effectively limit the motion to whatever you want by discarding any mouse movement that causes the cursor to go outside of your bounding box. | 3/ What does the GEM function CELLARAY and how do I use it ? The cellarray VDI function is not supported in TOS. -- ||| Ken Badertscher (ames!atari!kbad) ||| Atari R&D System Software Engine / | \ #include