PackKeyCodeUnicode
- Updated2023-02-21
- 2 minute(s) read
PackKeyCodeUnicode
KeyCodeUnicode PackKeyCodeUnicode (int unicodeCharCode, int virtualKey, int modifiers);
Purpose
Packs a Unicode code point, a virtual key, and a modifier key into a Unicode key code.
Parameters
Input | ||
Name | Type | Description |
unicodeCharCode | int | The value representing the Unicode code point of the key. The Unicode code point can represent any character. |
virtualKey | int | The value representing the virtual key. Virtual keys are non-ASCII keys represented by the following key codes: VAL_FWD_DELETE_VKEY |
modifiers | int | The value representing a modifier key. A modifier key is a <Shift> key, <Alt> key, or <Ctrl> key. The following constants represent the modifier key: VAL_SHIFT_MODIFIER |
Return Value
Name | Type | Description |
packedKeyCodeUnicode | KeyCodeUnicode | The value representing the key pressed by the user. This value is formed by packing a Unicode code point, a virtual key, and a modifier key. |
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 2020 and later