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

Home » Public Forums » archive » Re: changing window focus with cusor on x-windows
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: changing window focus with cusor on x-windows [message #68446] Fri, 23 October 2009 13:59
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Quigley writes:

> Just to make sure I'm being clear on this, instead of doing
>
> wset,1
>
> I'd like to be able to change the focus to window 1 by clicking on
> it.
>
> It seems like this would be possible, and not even very hard to do,
> since the window is bring brought to the foreground. Either IDL or the
> OS must know which window was clicked on..... However, I'm stumped.

This is not possible with normal IDL windows. You could probably
get something close to what you want if you wrote a widget
program and turned KBRD_FOCUS_EVENTS on for your top-level
base widgets. But your only hope here is to work with widget
windows.

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: changing window focus with cusor on x-windows
Next Topic: Wow! Value_Locate

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

Current Time: Wed Oct 08 19:42:36 PDT 2025

Total time taken to generate the page: 0.00347 seconds