CharFromKey (key_code)

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

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