Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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. Cheers, David -- 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
Hi, 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 ? Thanks in advance. Jonathan