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

Home » Public Forums » archive » Re: How to set the mouse 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
Re: How to set the mouse position? [message #54640] Mon, 02 July 2007 05:53 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
airy.jiang@gmail.com writes:

> Is there anyway to change the
> mouse position by writing some code rather than by move it with my
> hand?

Try TVCRS.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: How to set the mouse position? [message #54783 is a reply to message #54640] Tue, 03 July 2007 00:57 Go to previous message
airy.jiang is currently offline  airy.jiang
Messages: 37
Registered: May 2007
Member
On 7 2 , 8 53 , David Fanning <n...@dfanning.com> wrote:
> airy.ji...@gmail.com writes:
>> Is there anyway to change the
>> mouse position by writing some code rather than by move it with my
>> hand?
>
> Try TVCRS.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thanks for your help,David.
But I still have a question,my program is using object-oriented
graphics mode.When I use the TVCRS in my program,it indeed changed the
position of the mouse,but not the position I want it.I've wrote
that:"TVCRS,0,0,/DEVICE",but the position of the mouse change to the
left side of the center of the screen,rather than center of the
screen.Is there any other way can change the position of the mouse in
object-oriented graphics mode?
Thank you again!You really did a lot of thing to helping the people
who are learning or using IDL.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: how to link 2 or more georeferenced images in IDL?
Next Topic: four corners for lat & long pixels

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

Current Time: Fri Oct 10 09:18:14 PDT 2025

Total time taken to generate the page: 0.31884 seconds