[comp.sys.sgi] location of cursor in device coordinates

corkum@csri.toronto.edu (Brent Thomas Corkum) (06/28/90)

I am looking for a program that will tell me where my cursor is in
device coordinates.  Now this can be something that tells me the
position as I move the cursor, or tells me the position when I 
hit a mouse button, it doesn't matter.


Brent
corkum@csri.toronto.edu

blbates@AERO4.LARC.NASA.GOV ("Brent L. Bates AAD/TAB MS361 x42854") (06/28/90)

    Use getval(mousex) or getval(mousey) and they will return
the position of the cursor at the time of the call.  You could
also use tie(rightm,mousex,mousey) and que the right mouse button.
--

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 361
	Hampton, Virginia  23665-5225
	(804) 864-2854
	E-mail: blbates@aero4.larc.nasa.gov or blbates@aero2.larc.nasa.gov