On screen keyboard problem

Has anyone done already an on screen keyboard applicatioin like the
native windows one. I am supossed to make one for a tuchscreen
project for my dad's business. It's not a problem about the gui. I
guess I will use wx but if I have to use something different it will
be no problem.

My problem is how not to lose the focus on any application that is
active when I trigger an event on the keyboard gui.
but also how to transfer the data.

my first guess is that i will have to use pywin32, or something like
that, or maybe I will have to move to ironpython. Has anyone some idea
or sugesstion?

I don't know details but I believe that apps like that hook into the message loop of the target application so they can intercept appropriate events and feed corresponding key/char events to the target app as if they were coming from the real keyboard. You can't do that directly with wx, but if you can find how to do it in raw win32 api then you can probably do it via pywin32 or ctypes. But my question is why don't you just use the on-screen keyboard provided by Windows? There are a few others available too that can be found with google.

···

On 9/26/09 3:24 AM, azrael wrote:

Has anyone done already an on screen keyboard applicatioin like the
native windows one. I am supossed to make one for a tuchscreen
project for my dad's business. It's not a problem about the gui. I
guess I will use wx but if I have to use something different it will
be no problem.

My problem is how not to lose the focus on any application that is
active when I trigger an event on the keyboard gui.
but also how to transfer the data.

my first guess is that i will have to use pywin32, or something like
that, or maybe I will have to move to ironpython. Has anyone some idea
or sugesstion?

--
Robin Dunn
Software Craftsman

i have to be able to change the design but also to forbid things like
alt+ctrl+del

···

On 28 ruj, 20:38, Robin Dunn <ro...@alldunn.com> wrote:

On 9/26/09 3:24 AM, azrael wrote:

> Has anyone done already an on screen keyboard applicatioin like the
> native windows one. I am supossed to make one for a tuchscreen
> project for my dad's business. It's not a problem about the gui. I
> guess I will use wx but if I have to use something different it will
> be no problem.

> My problem is how not to lose the focus on any application that is
> active when I trigger an event on the keyboard gui.
> but also how to transfer the data.

> my first guess is that i will have to use pywin32, or something like
> that, or maybe I will have to move to ironpython. Has anyone some idea
> or sugesstion?

I don't know details but I believe that apps like that hook into the
message loop of the target application so they can intercept appropriate
events and feed corresponding key/char events to the target app as if
they were coming from the real keyboard. You can't do that directly
with wx, but if you can find how to do it in raw win32 api then you can
probably do it via pywin32 or ctypes. But my question is why don't you
just use the on-screen keyboard provided by Windows? There are a few
others available too that can be found with google.

--
Robin Dunn
Software Craftsmanhttp://wxPython.org