Provides script language access to C++ objects of this type.
Class Hierarchy | Type » KeyboardAccelerator |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
static string | GetAcceleratorCode | Returns a string that contains a hexadecimal code for a keyboard accelerator. |
static string | GetAcceleratorString | Returns a string that contains a human-readable accelerator code such as CTRL + C. |
static int32 | GetKeyboardKeyNames | Populates a <StrList> object with human-readable keyboard key names such as Backspace, Caps Lock, and Page Down. |
static int32 | GetKeyboardKeyValues | Populates an <Int32Array> object with keyboard key codes such as 0x08, 0x09, and 0x0D, that correspond to keys on the keyboard. Many of these can be found in winuser.h. For example: winuser.h defines '#define VK_TAB 0x09' for the Tab key. |
static int32 | GetKeyboardModifierNames | Populates a <StrList> with keyboard modifier names. The complete list is as follows: None, Shift, Ctrl, and Alt. |
static int32 | GetKeyboardModifierValues | Populates an <Int32Array> object with keyboard modifier codes such as 0x10, 0x11, and 0x12, that correspond to keys on the keyboard. Many of these can be found in winuser.h. For example: winuser.h defines '#define VK_MENU 0x12' for the Alt key. |
static int32 | UnpackAccelerator | Unpacks a hexadecimal keyboard accelerator value into its components and adds them to a <Uint16Array>. |