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.
精彩评论