Keyboard Events
Gandalf
goldnery at gmail.com
Mon May 26 17:40:18 EDT 2008
On May 26, 11:25 pm, Dennis Lee Bieber <wlfr... at ix.netcom.com> wrote:
> On Mon, 26 May 2008 12:06:02 -0700 (PDT), Gandalf <goldn... at gmail.com>
> declaimed the following in comp.lang.python:
>
> > I use WX on windows XP and I try to generate an event when the user is
> > clicking the keyboard while the application frame is not in focus.
> > All I manged to do were while the application frame is in focus
> > Can someone please show me how to do it?
>
> I'm no expert, but I think normal operation is that the operating
> system does not send events to an application unless that application
> has the focus.
>
> To counter that, though, there is no doubt some way to inform the OS
> that an application is interested in all events, even those not meant
> for it directly. As such a capability tends to be OS specific, it may
> not be easily exposed. Under Windows, this probably requires getting a
> handle on the "desktop window" and processing messages that it sees
> (without failing to pass them on to whatever other windows are looking
> for them)
> --
> Wulfraed Dennis Lee Bieber KD6MOG
> wlfr... at ix.netcom.com wulfr... at bestiaria.com
> HTTP://wlfraed.home.netcom.com/
> (Bestiaria Support Staff: web-a... at bestiaria.com)
> HTTP://www.bestiaria.com/
Thanks!
Anyone know which library should i learn then?
More information about the Python-list
mailing list