tags:

views:

38

answers:

1

Keyboard simulator ، Like Like On-Screen Keyboard

how to make Like "On-Screen Keyboard " ?

+1  A: 

In old win 32 API there was a sendKeys() method like API. when user clicks your form, then your form is active and has focus while he has activated the desired control for writing just before giving focus to yours. One solution is monitoring focus changes on controls and when user presses keyboard on your form, you can sendKeys() to appropriate window handle. I don't know what's the real name of that method and it's equivalent ic .NET but it should not be hard to find out. Stick to design.

[edited] here it is : http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx

Xaqron