开发者

Keyboard Functionality implementation

I made a keyboard with some functionalities but i have no idea how to add control functionality.This keyboard is to be used in touch screen.Using the code开发者_如何转开发 given at http://www.codeproject.com/KB/miscctrl/touchscreenkeyboard.aspx

any idea what functionality ctrl will perform ?

Secondly I want this to do actual work like if i click A on this it should write a anywhere as if original key at physical keyboard was pressed.in other words i want to trigger keyboard events


To send keyboard commands to windows you will need to pinvoke the SendInput or SendKeys function in user32.dll There is a nice project on codeplex doing exactly what you want.


You may want to look at (and work with) the SendKeys (for winforms) and SendInput (for native). And you should also look at this link.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜