Skip to content

GetKeyEventUniCode

Return the Unicode key event.

Declaration

Source position: keybrdh.inc line 175

  function GetKeyEventUniCode(KeyEvent: TKeyEvent) : Word;

Description

GetKeyEventUniCode returns the Unicode part of the given KeyEvent if it contains a translated Unicode character.

Errors

None.

See also

Name Description
GetKeyEvent Get the next raw key event, wait if needed.
GetKeyEventChar Get the character key part of a key event.
GetKeyEventCode Translate function key part of a key event code.
GetKeyEventFlags Extract the flags from a key event.
GetKeyEventShiftState Return the current state of the shift keys.