[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse cursor position

Jonathan Belisle (jbelislenotthis@gpa.qc.ca) writes:

> I'm new with IDL and I'm trying to find the mouse cursor position in the
> screen. I've try the cursor function but it return the mouse position in
> the active window.
> Anyone can help me ?

Nope. The best you can do is find the cursor in an IDL
graphics window. Although in draw widgets you can 
*drag* the cursor out of the window and get the
current display location (relative to the location
where you started the drag) when you release the button.



David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155