11-17-2006 05:31 AM
Hi,
I’m in the process of developing an on-screen keyboard (due to the windows on-screen keyboard being too small), behaving exactly like a normal keyboard, for an application that will be installed on a touch-screen system.
I have a panel which has a String Control and the buttons that make up the keyboard. On selection of a keyboard button I want to update the value within the String Control using the FakeKeystroke function. The problem I have is that when I set the active control to be the String Control (in order to get the keystroke to fake in the String Control) the current value of the text control becomes highlighted therefore the next keystroke overwrites the previous.
Any help in getting this as close to standard keyboard functionality as possible would be greatly appreciated.
Thanks,
James.
11-17-2006 10:07 AM