System::Windows::Forms::Keys enum
Contents
[
Hide
]Keys enum
Known keys.
enum class Keys
Values
Name | Value | Description |
---|---|---|
Modifiers | -65536 | Modifiers mask. |
None | 0 | No key. |
LButton | 1 | Left mouse button. |
RButton | 2 | Right mouse button. |
Cancel | 3 | Cancel key. |
MButton | 4 | Medium mouse button. |
XButton1 | 5 | Extra mouse button 1. |
XButton2 | 6 | Extra mouse button 2. |
Back | 8 | Back key. |
Tab | 9 | Tab key. |
LineFeed | 10 | Line feed key. |
Clear | 12 | Clear key. |
Return | 13 | Return key. |
Enter | 13 | Enter key. |
ShiftKey | 16 | Shift key. |
ControlKey | 17 | Control key. |
Menu | 18 | Menu key. |
Pause | 19 | Pause key. |
Capital | 20 | Capital key. |
CapsLock | 20 | Caps Lock key. |
KanaMode | 21 | Kana mode key. |
HanguelMode | 21 | Hanguel mode key. |
HangulMode | 21 | Hangul mode key. |
JunjaMode | 23 | Junja mode key. |
FinalMode | 24 | Final mode key. |
HanjaMode | 25 | Hanja mode key. |
KanjiMode | 25 | Kanji mode key. |
Escape | 27 | Escape key. |
IMEConvert | 28 | IME convert key. |
IMENonconvert | 29 | IME non-convert key. |
IMEAccept | 30 | IME accept key. |
IMEAceept | 30 | IME accept key - variant with a typo. |
IMEModeChange | 31 | IME mode change key. |
Space | 32 | Space key. |
Prior | 33 | Prior key. |
PageUp | 33 | Page up key. |
Next | 34 | Next key. |
PageDown | 34 | Page down key. |
End | 35 | End key. |
Home | 36 | Home key. |
Left | 37 | Left key. |
Up | 38 | Up key. |
Right | 39 | Right key. |
Down | 40 | Down key. |
Select | 41 | Select key. |
42 | Print key. | |
Execute | 43 | Execute key. |
Snapshot | 44 | Snapshot key. |
PrintScreen | 44 | Print screen key. |
Insert | 45 | Insert key. |
Delete | 46 | Delete key. |
Help | 47 | Help key. |
D0 | 48 | 0 key. |
D1 | 49 | 1 key. |
D2 | 50 | 2 key. |
D3 | 51 | 3 key. |
D4 | 52 | 4 key. |
D5 | 53 | 5 key. |
D6 | 54 | 6 key. |
D7 | 55 | 7 key. |
D8 | 56 | 8 key. |
D9 | 57 | 9 key. |
A | 65 | A key. |
B | 66 | B key. |
C | 67 | C key. |
D | 68 | D key. |
E | 69 | E key. |
F | 70 | F key. |
G | 71 | G key. |
H | 72 | H key. |
I | 73 | I key. |
J | 74 | J key. |
K | 75 | K key. |
L | 76 | L key. |
M | 77 | M key. |
N | 78 | N key. |
O | 79 | O key. |
P | 80 | P key. |
Q | 81 | Q key. |
R | 82 | R key. |
S | 83 | S key. |
T | 84 | T key. |
U | 85 | U key. |
V | 86 | V key. |
W | 87 | W key. |
X | 88 | X key. |
Y | 89 | Y key. |
Z | 90 | Z key. |
LWin | 91 | Left Windows key. |
RWin | 92 | Right Windows key. |
Apps | 93 | Applications key. |
Sleep | 95 | Sleep key. |
NumPad0 | 96 | Numpad 0 key. |
NumPad1 | 97 | Numpad 1 key. |
NumPad2 | 98 | Numpad 2 key. |
NumPad3 | 99 | Numpad 3 key. |
NumPad4 | 100 | Numpad 4 key. |
NumPad5 | 101 | Numpad 5 key. |
NumPad6 | 102 | Numpad 6 key. |
NumPad7 | 103 | Numpad 7 key. |
NumPad8 | 104 | Numpad 8 key. |
NumPad9 | 105 | Numpad 9 key. |
Multiply | 106 | Multiply key. |
Add | 107 | Add key. |
Separator | 108 | Separator key. |
Subtract | 109 | Substract key. |
Decimal | 110 | Decimal point key. |
Divide | 111 | Divide key. |
F1 | 112 | F1 key. |
F2 | 113 | F2 key. |
F3 | 114 | F3 key. |
F4 | 115 | F4 key. |
F5 | 116 | F5 key. |
F6 | 117 | F6 key. |
F7 | 118 | F7 key. |
F8 | 119 | F8 key. |
F9 | 120 | F9 key. |
F10 | 121 | F10 key. |
F11 | 122 | F11 key. |
F12 | 123 | F12 key. |
F13 | 124 | F13 key. |
F14 | 125 | F14 key. |
F15 | 126 | F15 key. |
F16 | 127 | F16 key. |
F17 | 128 | F17 key. |
F18 | 129 | F18 key. |
F19 | 130 | F19 key. |
F20 | 131 | F20 key. |
F21 | 132 | F21 key. |
F22 | 133 | F22 key. |
F23 | 134 | F23 key. |
F24 | 135 | F24 key. |
NumLock | 144 | Numeric lock key. |
Scroll | 145 | Scroll key. |
LShiftKey | 160 | Left shift key. |
RShiftKey | 161 | Right shift key. |
LControlKey | 162 | Left control key. |
RControlKey | 163 | Right control key. |
LMenu | 164 | Left menu key. |
RMenu | 165 | Right menu key. |
BrowserBack | 166 | Browser back key. |
BrowserForward | 167 | Browser forward key. |
BrowserRefresh | 168 | Browser refresh key. |
BrowserStop | 169 | Browser stop key. |
BrowserSearch | 170 | Browser search key. |
BrowserFavorites | 171 | Browser favorites key. |
BrowserHome | 172 | Browser home key. |
VolumeMute | 173 | Volume mute key. |
VolumeDown | 174 | Volume down key. |
VolumeUp | 175 | Volume up key. |
MediaNextTrack | 176 | Media next track key. |
MediaPreviousTrack | 177 | Media previous track key. |
MediaStop | 178 | Media stop key. |
MediaPlayPause | 179 | Media play/pause key. |
LaunchMail | 180 | Launch mail key. |
SelectMedia | 181 | Select media key. |
LaunchApplication1 | 182 | Launch application key 1. |
LaunchApplication2 | 183 | Launch application key 2. |
OemSemicolon | 186 | OEM semicolon key. |
Oem1 | 186 | OEM key 1. |
Oemplus | 187 | OEM plus key. |
Oemcomma | 188 | OEM comma key. |
OemMinus | 189 | OEM minus key. |
OemPeriod | 190 | OEM period key. |
OemQuestion | 191 | OEM question key. |
Oem2 | 191 | OEM key 2. |
Oemtilde | 192 | OEM tilde key. |
Oem3 | 192 | OEM key 3. |
OemOpenBrackets | 219 | OEM open brackets key. |
Oem4 | 219 | OEM key 4. |
OemPipe | 220 | OEM pipe key. |
Oem5 | 220 | OEM key 5. |
OemCloseBrackets | 221 | OEM close brackets key. |
Oem6 | 221 | OEM key 6. |
OemQuotes | 222 | OEM quotes key. |
Oem7 | 222 | OEM key 7. |
Oem8 | 223 | OEM key 8. |
OemBackslash | 226 | OEM backslash key. |
Oem102 | 226 | OEM key 102. |
ProcessKey | 229 | Process key. |
Packet | 231 | Packet key. |
Attn | 246 | Attention key. |
Crsel | 247 | CRSEL key. |
Exsel | 248 | EXSEL key. |
EraseEof | 249 | EOF erase key. |
Play | 250 | Play key. |
Zoom | 251 | Zoom key. |
NoName | 252 | No name key. |
Pa1 | 253 | Pal key. |
OemClear | 254 | OEM clear key. |
KeyCode | 65535 | Key code mask. |
Shift | 65536 | Shift key code. |
Control | 131072 | Control key code. |
Alt | 262144 | Alt key code. |
See Also
- Namespace System::Windows::Forms
- Library Aspose.PUB for C++