|
TranslateKeyReturns a Unicode character by a virtual key code considering the current input language and the status of control keys.
Parameters key_code [in] Key code. Return Value Unicode character in case of a successful conversion. The function returns -1 in case of an error. Note The function uses ToUnicodeEx to convert keys pressed by a user into Unicode characters. An error may occur in case ToUnicodeEx is not triggered C for example, when trying to receive the SHIFT key character. Example:
See also Client terminal events, OnChartEvent |