This project is read-only.

Textbox in G19-display

Mar 12, 2013 at 2:50 AM
Hi. It is possible to add a textbox to the element that's displayed on the display, and then (with a key-press) make i possible to type in the textbox with the keyboard?


Hope you understand what i'm looking for.


Thanks in advance
Mar 12, 2013 at 11:31 AM
HI, it's not that easy to have keyboard input within the LCD.
What you can do is add a global keyboard hook and write the keystrokes to a LcdGdiText or however you'd like to display them, but that means your applet will act like a key logger, it will get all keystrokes, because there is no way you can focus the applet or the text field, because it's not a regular desktop window...

If you want to do that take a look at this article about a low level keyboard hook with C#: http://blogs.msdn.com/b/toub/archive/2006/05/03/589423.aspx