[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mouse cursor position
- Subject: Re: Mouse cursor position
- From: davidf(at)dfanning.com (David Fanning)
- Date: Thu, 2 Mar 2000 21:35:58 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <01bf8493$7804c260$518bcdcd@bill>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:18760
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