comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Mouse cursor position
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Mouse cursor position [message #19218] Fri, 03 March 2000 00:00
Jonathan Belisle is currently offline  Jonathan Belisle
Messages: 1
Registered: March 2000
Junior Member
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
Re: Mouse cursor position [message #19220 is a reply to message #19218] Thu, 02 March 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Returning arrays from DLMs to IDL
Next Topic: Problems with the help index

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:58:54 PDT 2025

Total time taken to generate the page: 1.75902 seconds