Hi,
Because there's not enough room for the inputpanel on one of the
windows of my application that's running under Windows CE on a PDA/
Smartphone, I made a few buttons (I only need 0-9 the comma and a
backspace). When pressing a button certain text is sent to the
selected control.
Unfortunately it's not possible to get the selected text from an edit
control in the .NET Compact Framework, so I actually do not know what
should happen when I press one of the buttons and send a keystroke to
the selected edit field. (Should it replace text, append text, or put
some text inbetween?)
I tried to work around the problem with using keydbd_event, sending
VK_KEY codes. That works perfect!
But.... not on a smartphone with a physical-keyboard on it. Because
when I now send VK_5, it sends the 'J'...
Anyone has experience with this, and how to work around the problem
mentioned?
Thanks.
Marco