CharFromKey (key_code)

Returns the character associated with the given key code. Returns zero if the key_code is not a regular character key code.

key_code is a numeric keyboard value that is returned by GetKey and KeyFromChar. You can use CharFromKey to convert a key_code into a character.