Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Touchscreen Virtual keyboard

Status
Not open for further replies.

Agent009

Programmer
Apr 4, 2003
96
IE
Hi,

I have an application that requires alpha-numeric input, but
for which no physical keyboard will be present.
Thus, I am developing a virtual keyboard.
I used the InputMethod framework and was successful on
Win32 platforms. But, it doesn't work on Linux because
the textfield needing data entry loses focus even though
the keyboard (inputMethod window) does not gain focus.

So, I was thinking of using the Accessibility API to keep
track of which textfield had focus last. Then perhaps the
keyboard (inputMethod window) could do a show on
the main application window follow by a grabFocus()
by the last textfield that had focus. Then a KeyEvent
could be sent. Has anyone tried anything like this?
If so, did it work?

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top