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

Home » Public Forums » archive » Re: mouse appearance
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: mouse appearance [message #57875] Tue, 08 January 2008 14:25
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
thanks David !!!!!!!
Re: mouse appearance [message #57876 is a reply to message #57875] Tue, 08 January 2008 14:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
minuscrim wrote:

> I use graphic objects. With DEVICE, CURSOR_STANDARD=??? a new window
> is displayed. I dont want that..
> Do you know how to change the appearance in object graphics??

Then you just use the SetCurrentCursor method on your
IDLgrWindow object.

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: mouse appearance [message #57877 is a reply to message #57876] Tue, 08 January 2008 14:02 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Thanks David,

I use graphic objects. With DEVICE, CURSOR_STANDARD=??? a new window
is displayed. I dont want that..
Do you know how to change the appearance in object graphics??



On Jan 8, 4:55 pm, David Fanning <n...@dfanning.com> wrote:
> minuscrim wrote:
>> I want to change the mouse appearance when I move the cursor above a
>> widget draw.... This widget draw is only a part of my window
>> application.
>
>> Do you know how to do that ?
>
> What is typically done is to turn tracking events on for the
> draw widget. Then, when the cursor enters the draw widget,
> switch the cursor with DEVICE, CURSOR_STANDARD=???. When
> the cursor leaves the draw widget, set it back with DEVICE,
> /STANDARD_CURSOR. (This is in direct graphics. Object
> graphics is even easier.)
>
> 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: mouse appearance [message #57878 is a reply to message #57877] Tue, 08 January 2008 13:55 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
minuscrim wrote:

> I want to change the mouse appearance when I move the cursor above a
> widget draw.... This widget draw is only a part of my window
> application.
>
> Do you know how to do that ?

What is typically done is to turn tracking events on for the
draw widget. Then, when the cursor enters the draw widget,
switch the cursor with DEVICE, CURSOR_STANDARD=???. When
the cursor leaves the draw widget, set it back with DEVICE,
/STANDARD_CURSOR. (This is in direct graphics. Object
graphics is even easier.)

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: mouse appearance
Next Topic: Re: How to plot shaded relief image

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

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

Total time taken to generate the page: 0.32176 seconds