Enum VirtualKeyCodes
Symbolic constant names, hexadecimal values, and mouse or keyboard equivalents for the virtual-key codes used by the system. The codes are listed in numeric order. See Virtual-Key Codes
Namespace: Dapplo.Windows.Input.Enums
Assembly: Dapplo.Windows.Input.dll
Syntax
public enum VirtualKeyCodes : short
Fields
Name | Description |
---|---|
ACCEPT | IME accept |
ADD | Add key |
APPS | Applications key (Natural keyboard) |
ATTN | Attn key |
BACK | BACKSPACE key |
BROWSER_BACK | Windows 2000/XP: Browser Back key |
BROWSER_FAVORITES | Windows 2000/XP: Browser Favorites key |
BROWSER_FORWARD | Windows 2000/XP: Browser Forward key |
BROWSER_HOME | Windows 2000/XP: Browser Start and Home key |
BROWSER_REFRESH | Windows 2000/XP: Browser Refresh key |
BROWSER_SEARCH | Windows 2000/XP: Browser Search key |
BROWSER_STOP | Windows 2000/XP: Browser Stop key |
CANCEL | Control-break processing |
CAPITAL | CAPS LOCK key |
CLEAR | CLEAR key |
CONTROL | CTRL key |
CONVERT | IME convert |
CRSEL | CrSel key |
DECIMAL | Decimal key |
DELETE | DEL key |
DIVIDE | Divide key |
DOWN | DOWN ARROW key |
END | END key |
EREOF | Erase EOF key |
ESCAPE | ESC key |
EXECUTE | EXECUTE key |
EXSEL | ExSel key |
F1 | F1 key |
F10 | F10 key |
F11 | F11 key |
F12 | F12 key |
F13 | F13 key |
F14 | F14 key |
F15 | F15 key |
F16 | F16 key |
F17 | F17 key |
F18 | F18 key |
F19 | F19 key |
F2 | F2 key |
F20 | F20 key |
F21 | F21 key |
F22 | F22 key, (PPC only) Key used to lock device. |
F23 | F23 key |
F24 | F24 key |
F3 | F3 key |
F4 | F4 key |
F5 | F5 key |
F6 | F6 key |
F7 | F7 key |
F8 | F8 key |
F9 | F9 key |
FINAL | IME final mode |
HANGUL | IME Hangul mode |
HANJA | IME Hanja mode |
HELP | HELP key |
HOME | HOME key |
INSERT | INS key |
JUNJA | IME Junja mode |
KANA | Input Method Editor (IME) Kana mode |
KANJI | IME Kanji mode |
KEY_0 | 0 key |
KEY_1 | 1 key |
KEY_2 | 2 key |
KEY_3 | 3 key |
KEY_4 | 4 key |
KEY_5 | 5 key |
KEY_6 | 6 key |
KEY_7 | 7 key |
KEY_8 | 8 key |
KEY_9 | 9 key |
KEY_A | A key |
KEY_B | B key |
KEY_C | C key |
KEY_D | D key |
KEY_E | E key |
KEY_F | F key |
KEY_G | G key |
KEY_H | H key |
KEY_I | I key |
KEY_J | J key |
KEY_K | K key |
KEY_L | L key |
KEY_M | M key |
KEY_N | N key |
KEY_O | O key |
KEY_P | P key |
KEY_Q | Q key |
KEY_R | R key |
KEY_S | S key |
KEY_T | T key |
KEY_U | U key |
KEY_V | V key |
KEY_W | W key |
KEY_X | X key |
KEY_Y | Y key |
KEY_Z | Z key |
LAUNCH_APP1 | Windows 2000/XP: Start Application 1 key |
LAUNCH_APP2 | Windows 2000/XP: Start Application 2 key |
LAUNCH_MAIL | Windows 2000/XP: Start Mail key |
LAUNCH_MEDIA_SELECT | Windows 2000/XP: Select Media key |
LBUTTON | Left mouse button |
LCONTROL | Left CONTROL key |
LEFT | LEFT ARROW key |
LMENU | Left MENU key |
LSHIFT | Left SHIFT key |
LWIN | Left Windows key (Microsoft Natural keyboard) |
MBUTTON | Middle mouse button (three-button mouse) |
MEDIA_NEXT_TRACK | Windows 2000/XP: Next Track key |
MEDIA_PLAY_PAUSE | Windows 2000/XP: Play/Pause Media key |
MEDIA_PREV_TRACK | Windows 2000/XP: Previous Track key |
MEDIA_STOP | Windows 2000/XP: Stop Media key |
MENU | ALT key |
MODECHANGE | IME mode change request |
MULTIPLY | Multiply key |
NEXT | PAGE DOWN key |
NONAME | Reserved |
NONCONVERT | IME nonconvert |
NONE | Not a key |
NUMLOCK | NUM LOCK key |
NUMPAD0 | Numeric keypad 0 key |
NUMPAD1 | Numeric keypad 1 key |
NUMPAD2 | Numeric keypad 2 key |
NUMPAD3 | Numeric keypad 3 key |
NUMPAD4 | Numeric keypad 4 key |
NUMPAD5 | Numeric keypad 5 key |
NUMPAD6 | Numeric keypad 6 key |
NUMPAD7 | Numeric keypad 7 key |
NUMPAD8 | Numeric keypad 8 key |
NUMPAD9 | Numeric keypad 9 key |
OEM_1 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_102 | Windows 2000/XP: Either the angle bracket key or the backslash key on the RT 102-key keyboard |
OEM_2 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_3 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_4 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_5 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_6 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_7 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_8 | Used for miscellaneous characters; it can vary by keyboard. |
OEM_CLEAR | Clear key |
OEM_COMMA | Windows 2000/XP: For any country/region, the ',' key |
OEM_MINUS | Windows 2000/XP: For any country/region, the '-' key |
OEM_PERIOD | Windows 2000/XP: For any country/region, the '.' key |
OEM_PLUS | Windows 2000/XP: For any country/region, the '+' key |
PA1 | PA1 key |
PACKET | Windows 2000/XP: Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods. For more information, see Remark in KEYBDINPUT, SendInput, WM_KEYDOWN, and WM_KEYUP |
PAUSE | PAUSE key |
PLAY | Play key |
PRINT key |
|
PRIOR | PAGE UP key |
PROCESSKEY | Windows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME PROCESS key |
RBUTTON | Right mouse button |
RCONTROL | Right CONTROL key |
RETURN | ENTER key |
RIGHT | RIGHT ARROW key |
RMENU | Right MENU key |
RSHIFT | Right SHIFT key |
RWIN | Right Windows key (Natural keyboard) |
SCROLL | SCROLL LOCK key |
SELECT | SELECT key |
SEPARATOR | Separator key |
SHIFT | SHIFT key |
SLEEP | Computer Sleep key |
SNAPSHOT | PRINT SCREEN key |
SPACE | SPACEBAR |
SUBTRACT | Subtract key |
TAB | TAB key |
UP | UP ARROW key |
VOLUME_DOWN | Windows 2000/XP: Volume Down key |
VOLUME_MUTE | Windows 2000/XP: Volume Mute key |
VOLUME_UP | Windows 2000/XP: Volume Up key |
XBUTTON1 | Windows 2000/XP: X1 mouse button |
XBUTTON2 | Windows 2000/XP: X2 mouse button |
ZOOM | Zoom key |