|
|
Re: Widget_Base KBRD_Focus_Events not generated via Alt-Tab [message #84363 is a reply to message #84362] |
Thu, 30 May 2013 05:52  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Rob Klooster writes:
> I've been trying to use the KBRD_Focus_Events keyword in Widget_Base to generate an event when the window gains or loses focus. This is however not working, in particular if I use Alt-Tab to move to or from the window. Only when I click inside the text widget inside the base, a number of events are generated (in the order textevent -> KBRD(enter=0) -> KBRD(enter=1)). What is going on here? I'm working on 64-bit Windows 7.
It looks totally screwy to me.
I've never had much luck with focus or tracking events. So much so that
I've pretty much given up using them. But, this is particularly bad.
What good are keyboard focus events AFTER the fact!?
I presume these events were added to address a problem. Maybe we aren't
using them correctly. Can someone enlighten us as to how they can be
used?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|