Hello.
I am trying to make an on-screen keyboard.
The idea is:
The user has the keyboard on screen.
When a key on the screen keyboard is pressed - the appropriate key press is sent to the control in focus as if it came from the real keyboard.
This MUST happen without the focus change that usually happens when another control on the screen is pressed.

so, the question is: how do I have my on screen virtual keyboard acknoladge a mouse click by not receiving the focus, yet sending the right keypress to the control who had the focus?

If you have win2000 you can see this sort of application under accessories\accesibility\on-screen keyboard.

Thanks.
-----------------