Edit AllPages


I have a set of pre-defined Keycodes and I’d like to display the string value dependent on the language that is selected. Empirically I can determine that a keycode of 0 is the letter “a” in the U.S. language and that it’s the letter “q” in French. In short for a given keycode and language how do I determine in advance the stringvalue of the keystroke that will be posted?

I read about how there used to be this function called KeyTranslate ( and ) which lets you do exactly what I want but the notes clearly state that the information is deprecated.

Pointers to new information would be most welcomed!!

See the discussion on GetKeys. It’s closely-related.