Enum VirtualKeyCode
- Namespace
- NetAutoGUI
- Assembly
- NetAutoGUI.dll
public enum VirtualKeyCode
Fields
ACCEPT = 30IME accept
ADD = 107Add key
APPS = 93Applications key (Natural keyboard)
ATTN = 246Attn key
BACK = 8BACKSPACE key
BROWSER_BACK = 166Windows 2000/XP: Browser Back key
BROWSER_FAVORITES = 171Windows 2000/XP: Browser Favorites key
BROWSER_FORWARD = 167Windows 2000/XP: Browser Forward key
BROWSER_HOME = 172Windows 2000/XP: Browser Start and Home key
BROWSER_REFRESH = 168Windows 2000/XP: Browser Refresh key
BROWSER_SEARCH = 170Windows 2000/XP: Browser Search key
BROWSER_STOP = 169Windows 2000/XP: Browser Stop key
CANCEL = 3Control-break processing
CAPITAL = 20CAPS LOCK key
CLEAR = 12CLEAR key
CONTROL = 17CTRL key
CONVERT = 28IME convert
CRSEL = 247CrSel key
DECIMAL = 110Decimal key
DELETE = 46DEL key
DIVIDE = 111Divide key
DOWN = 40DOWN ARROW key
END = 35END key
EREOF = 249Erase EOF key
ESCAPE = 27ESC key
EXECUTE = 43EXECUTE key
EXSEL = 248ExSel key
F1 = 112F1 key
F10 = 121F10 key
F11 = 122F11 key
F12 = 123F12 key
F13 = 124F13 key
F14 = 125F14 key
F15 = 126F15 key
F16 = 127F16 key
F17 = 128F17 key
F18 = 129F18 key
F19 = 130F19 key
F2 = 113F2 key
F20 = 131F20 key
F21 = 132F21 key
F22 = 133F22 key
F23 = 134F23 key
F24 = 135F24 key
F3 = 114F3 key
F4 = 115F4 key
F5 = 116F5 key
F6 = 117F6 key
F7 = 118F7 key
F8 = 119F8 key
F9 = 120F9 key
FINAL = 24IME final mode
HANGEUL = 21IME Hanguel mode (maintained for compatibility; use HANGUL)
HANGUL = 21IME Hangul mode
HANJA = 25IME Hanja mode
HELP = 47HELP key
HOME = 36HOME key
INSERT = 45INS key
JUNJA = 23IME Junja mode
KANA = 21Input Method Editor (IME) Kana mode
KANJI = 25IME Kanji mode
LAUNCH_APP1 = 182Windows 2000/XP: Start Application 1 key
LAUNCH_APP2 = 183Windows 2000/XP: Start Application 2 key
LAUNCH_MAIL = 180Windows 2000/XP: Start Mail key
LAUNCH_MEDIA_SELECT = 181Windows 2000/XP: Select Media key
LBUTTON = 1Left mouse button
LCONTROL = 162Left CONTROL key - Used only as parameters to GetAsyncKeyState() and GetKeyState()
LEFT = 37LEFT ARROW key
LMENU = 164Left MENU key - Used only as parameters to GetAsyncKeyState() and GetKeyState()
LSHIFT = 160Left SHIFT key - Used only as parameters to GetAsyncKeyState() and GetKeyState()
LWIN = 91Left Windows key (Microsoft Natural keyboard)
MBUTTON = 4Middle mouse button (three-button mouse) - NOT contiguous with LBUTTON and RBUTTON
MEDIA_NEXT_TRACK = 176Windows 2000/XP: Next Track key
MEDIA_PLAY_PAUSE = 179Windows 2000/XP: Play/Pause Media key
MEDIA_PREV_TRACK = 177Windows 2000/XP: Previous Track key
MEDIA_STOP = 178Windows 2000/XP: Stop Media key
MENU = 18ALT key
MODECHANGE = 31IME mode change request
MULTIPLY = 106Multiply key
NEXT = 34PAGE DOWN key
NONAME = 252Reserved
NONCONVERT = 29IME nonconvert
NUMLOCK = 144NUM LOCK key
NUMPAD0 = 96Numeric keypad 0 key
NUMPAD1 = 97Numeric keypad 1 key
NUMPAD2 = 98Numeric keypad 2 key
NUMPAD3 = 99Numeric keypad 3 key
NUMPAD4 = 100Numeric keypad 4 key
NUMPAD5 = 101Numeric keypad 5 key
NUMPAD6 = 102Numeric keypad 6 key
NUMPAD7 = 103Numeric keypad 7 key
NUMPAD8 = 104Numeric keypad 8 key
NUMPAD9 = 105Numeric keypad 9 key
NUMPAD_RETURN = 1073741837Numeric keypad ENTER key
OEM_1 = 186Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the ';:' key
OEM_102 = 226Windows 2000/XP: Either the angle bracket key or the backslash key on the RT 102-key keyboard
OEM_2 = 191Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the '/?' key
OEM_3 = 192Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the '`~' key
OEM_4 = 219Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the '[{' key
OEM_5 = 220Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the '|' key
OEM_6 = 221Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the ']}' key
OEM_7 = 222Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the 'single-quote/double-quote' key
OEM_8 = 223Used for miscellaneous characters; it can vary by keyboard.
OEM_CLEAR = 254Clear key
OEM_COMMA = 188Windows 2000/XP: For any country/region, the ',' key
OEM_MINUS = 189Windows 2000/XP: For any country/region, the '-' key
OEM_PERIOD = 190Windows 2000/XP: For any country/region, the '.' key
OEM_PLUS = 187Windows 2000/XP: For any country/region, the '+' key
PA1 = 253PA1 key
PACKET = 231Windows 2000/XP: Used to pass Unicode characters as if they were keystrokes. The 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 = 19PAUSE key
PLAY = 250Play key
PRINT = 42PRINT key
PRIOR = 33PAGE UP key
PROCESSKEY = 229Windows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME PROCESS key
RBUTTON = 2Right mouse button
RCONTROL = 163Right CONTROL key - Used only as parameters to GetAsyncKeyState() and GetKeyState()
RETURN = 13ENTER key
RIGHT = 39RIGHT ARROW key
RMENU = 165Right MENU key - Used only as parameters to GetAsyncKeyState() and GetKeyState()
RSHIFT = 161Right SHIFT key - Used only as parameters to GetAsyncKeyState() and GetKeyState()
RWIN = 92Right Windows key (Natural keyboard)
SCROLL = 145SCROLL LOCK key
SELECT = 41SELECT key
SEPARATOR = 108Separator key
SHIFT = 16SHIFT key
SLEEP = 95Computer Sleep key
SNAPSHOT = 44PRINT SCREEN key
SPACE = 32SPACEBAR
SUBTRACT = 109Subtract key
TAB = 9TAB key
UP = 38UP ARROW key
VK_0 = 480 key
VK_1 = 491 key
VK_2 = 502 key
VK_3 = 513 key
VK_4 = 524 key
VK_5 = 535 key
VK_6 = 546 key
VK_7 = 557 key
VK_8 = 568 key
VK_9 = 579 key
VK_A = 65A key
VK_B = 66B key
VK_C = 67C key
VK_D = 68D key
VK_E = 69E key
VK_F = 70F key
VK_G = 71G key
VK_H = 72H key
VK_I = 73I key
VK_J = 74J key
VK_K = 75K key
VK_L = 76L key
VK_M = 77M key
VK_N = 78N key
VK_O = 79O key
VK_P = 80P key
VK_Q = 81Q key
VK_R = 82R key
VK_S = 83S key
VK_T = 84T key
VK_U = 85U key
VK_V = 86V key
VK_W = 87W key
VK_X = 88X key
VK_Y = 89Y key
VK_Z = 90Z key
VOLUME_DOWN = 174Windows 2000/XP: Volume Down key
VOLUME_MUTE = 173Windows 2000/XP: Volume Mute key
VOLUME_UP = 175Windows 2000/XP: Volume Up key
XBUTTON1 = 5Windows 2000/XP: X1 mouse button - NOT contiguous with LBUTTON and RBUTTON
XBUTTON2 = 6Windows 2000/XP: X2 mouse button - NOT contiguous with LBUTTON and RBUTTON
ZOOM = 251Zoom key