Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

cursor location

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7884] cursor location
  • From: "Chris Purcell" <purcell at drea.dnd.ca>
  • Date: Thu, 17 Jul 1997 15:35:46 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I have written a finite element modeller in Mathematica and now want to
build a GUI for it. Is there any way to get the location of the cursor and
the status  of the mouse (mouse up/down etc) when the cursor is inside a
graphics window? I am hoping somone knows of an undocumented FrontEndToken
that corresponds to this. The only way I know to get cursor locations
presently is the standard trick of selecting the graphic, and clicking the
mouse with the Command key held down, then using Command-C to copy the
coordinates to the Clipboard (on a Mac) but that won't do the job here.
--------------------------
Dr. Christopher J. Purcell
Group Leader/Transducers
Defence Research Establishment Atlantic
9 Grove St. Dartmouth, NS, Canada B2Y3Z7
            
Tel: 902-426-3100 ext 389
FAX: 902-426-9654
E-mail:purcell at drea.dnd.ca

Cdn Nat Liason Officer/SACLANTCEN
Adj Prof of Physics, Dalhousie University


  • Prev by Date: Re: Rotated text in graphics
  • Next by Date: Re: Palettes in 2.2 ?
  • Previous by thread: Help: MMA incompatible with K6 ?
  • Next by thread: Re: Palettes in 2.2 ?