I want to produce an on-screen keyboard as a component
that could be used from the toolbox.

When user presses a key the corresponding character should
be inserted in the control that have focus - without
affecting focus.

Question is:
How could I put chars in the keyboad buffer just as if they where inserted from keyboard and without affecting which control having focus?