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

Home » Public Forums » archive » Re: how to get mouse focus changes in widget_draw?
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: how to get mouse focus changes in widget_draw? [message #63469] Sun, 09 November 2008 12:18
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
justspam03@yahoo.de writes:

> is there a way in IDL to be informed about the mouse leaving a draw
> widget?
> To get a notification on mouse_enter events in a widget_draw is
> implicitly given via mouse motion events.
> But how do I know the mouse has left the window?
> I know about the onFocus event of widget_base - but that's for
> keyboard events only...

You can set the TRACKING_EVENTS keyword for any widget,
and then IDL is suppose to generate events when the
cursor enters and leaves the outlines of the widget.
In practice, it helps if you move the cursor
s--l--o--w--l--y. :-(

That is to say, I wouldn't bet a whole lot of money on
an application using this functionality. :-)

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
Previous Topic: how to get mouse focus changes in widget_draw?
Next Topic: error handling

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

Current Time: Fri Oct 10 02:02:57 PDT 2025

Total time taken to generate the page: 0.39823 seconds