Discussion:
Windows Events
David Siebert
2007-10-15 18:43:50 UTC
Permalink
Is there any way to get an even when a Window is no longer on top? I.E.
an other window is placed in front of it. Or if it losses focus?
Greg Haerr
2007-10-17 02:22:38 UTC
Permalink
: Is there any way to get an even when a Window is no longer on top? I.E.
: an other window is placed in front of it. Or if it losses focus?

You can have transparent windows, in which case an event
will continue probing to lower z-order windows. See
nanox/srvevent.c for logic on how events matched to
windows.

Focus is normally only important for keystrokes, not mousepresses.


Regards,

Greg

Loading...