rickydalley
Member
- Joined
- Aug 28, 2009
- Messages
- 24
- Programming Experience
- 10+
Hi all.
I'm writing an app for work and have created a usercontrol that will pop up an alpha keyboard or a numeric.
It returns a keypress via its KeyPressed event a char and boolean to indicate whether shift was pressed.
That works fine.
My problem now is to "poke" the char onto whatever field has focus - just as if was using an input panel.
The reason I have created this control is because I don't know how to tell an inputpanel to show the 123 numeric.
Searching the net I found SendKeys.Send but in .net compact this doesn't exist.
I have found vague references to doing it with Sendmessage in coredll.dll but haven't seen any example of how to achieve what I want.
Any ideas?
regards, Ricky
I'm writing an app for work and have created a usercontrol that will pop up an alpha keyboard or a numeric.
It returns a keypress via its KeyPressed event a char and boolean to indicate whether shift was pressed.
That works fine.
My problem now is to "poke" the char onto whatever field has focus - just as if was using an input panel.
The reason I have created this control is because I don't know how to tell an inputpanel to show the 123 numeric.
Searching the net I found SendKeys.Send but in .net compact this doesn't exist.
I have found vague references to doing it with Sendmessage in coredll.dll but haven't seen any example of how to achieve what I want.
Any ideas?
regards, Ricky