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

Home » Public Forums » archive » Widget_Draw - Help
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: Widget_Draw - Help [message #27435 is a reply to message #27339] Tue, 23 October 2001 14:26 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
In the event handler, get the value of the draw widget and set that to
be the active window:

widget_control, Draw_ID, get_value=w_ID
wset, w_ID

You can also make the event handler return the focus to the originally
active direct graphics window.
Check out http://spot.colorado.edu/~romashki/idl/smart_w.pro to see how
the window focusing can be accomplished.

> Logan Lindquist wrote:
>
> How do I get the image to stay in the Widget_Draw when I click on
> another window? I was thinking that by coding in the PRO that the
> Widget_Draw calls [in the initialization], something updates the
> image. Is this the correct way to do that?
>
> Thanks,
>
> Logan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: A few IDL benchmarck results - question
Next Topic: How to get mouse values in ION

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

Current Time: Thu Oct 09 20:58:37 PDT 2025

Total time taken to generate the page: 0.00190 seconds