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

Home » Public Forums » archive » Re: change mouse cursor in draw widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: change mouse cursor in draw widget [message #64894 is a reply to message #64893] Thu, 29 January 2009 05:58 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
AndiBiffar@googlemail.com writes:

> i am pretty sure i don't understand all the consequences :)
>
> problem with the device keyword is that in this case my cursor will
> look like the new cursor in my whole widget and not only in the draw
> widget. but i guess this is the better tradeoff.

Change your cursor when you enter the draw widget. (You
will have to turn TRACKING_EVENTS on for your draw widget.)
Then switch it back to the original cursor when you leave
the draw widget. Just be sure to move your cursor S-L-O-W-L-Y
as you cross the threshold. :-)

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: change mouse cursor in draw widget
Next Topic: ERRPLOT using object Graphics .... ?

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

Current Time: Sun Oct 12 12:14:31 PDT 2025

Total time taken to generate the page: 1.79982 seconds