|
GetKeyName function
|
|
| acUtils
|
| function GetKeyName(lParam: LongInt): String;
|
| The GetKeyName function converts the virtual keyboard code to the key name. It can convert the keyboard codes returned by KeyboardProc, WM_KEYDOWN and WM_KEYDOWN messages.
|
| function GetKeyName(lParam: LongInt): String;
|
| var
|
| szKeyName: Array[0..$FF] of Char;
|
| begin
|
| GetKeyNameText(lParam, szKeyName, SizeOf(szKeyName));
|
| Result := szKeyName;
|
| end;
|