tags:

views:

132

answers:

1

I would like to edit a graphical text (not a TextBox control) through the KeyDown event. I need to update my text string according to the KeyEventArgs (key value and modifier). I using a french keyboard for now but in the future I would like to support different keyboard layout. How can I guess the caractere typed depending the key value, the modifier and the culture info?

I don't want to use the KeyPress event for technical reason.

A: 

KeyPress is the best way to handle text input.

tinmaru