No. |
記号定数名 |
値 ( HEX ) |
値 ( DEC ) |
意味 ( 該当するキー ) |
1 | VK_LBUTTON | $01 | 01 |
|
2 | VK_RBUTTON | $02 | 02 |
|
3 | VK_CANCEL | $03 | 03 | Cancel([Ctrl]+[Break]) |
4 | VK_MBUTTON | $04 | 04 |
|
5 | VK_BACK | $08 | 08 | [BackSpace] |
6 | VK_TAB | $09 | 09 | [Tab] |
7 | VK_CLEAR | $0C | 12 |
|
8 | VK_RETURN | $0D | 13 | [Enter] |
9 | VK_SHIFT | $10 | 16 | [Shift] |
10 | VK_CONTROL | $11 | 17 | [Ctrl] |
11 | VK_MENU | $12 | 18 | [Alt] |
12 | VK_PAUSE | $13 | 19 | [Pause] |
13 | VK_CAPITAL | $14 | 20 | [CapsLock] |
14 | VK_ESCAPE | $1B | 27 | [Esc] |
15 | VK_SPACE | $20 | 32 | [スペースキー] |
16 | VK_PRIOR | $21 | 33 | [PageUp] |
17 | VK_NEXT | $22 | 34 | [PageDown] |
18 | VK_END | $23 | 35 | [PageDown] |
19 | VK_HOME | $24 | 36 | [Home] |
20 | VK_LEFT | $25 | 37 | カーソルキー [←] |
21 | VK_UP | $26 | 38 | カーソルキー [↑] |
22 | VK_RIGHT | $27 | 39 | カーソルキー [→] |
23 | VK_DOWN | $28 | 40 | カーソルキー [↓] |
24 | VK_SELECT | $29 | 41 |
|
25 | VK_PRINT | $2A | 42 |
|
26 | VK_EXECUTE | $2B | 43 |
|
27 | VK_SNAPSHOT | $2C | 44 | [Print Screen] |
28 | VK_INSERT | $2D | 45 | [Insert] |
29 | VK_DELETE | $2E | 46 | [Delete] |
30 | VK_HELP | $2F | 47 | [Help] |
31 | VK_0 | $30 | 48 | ASCII Code '0' |
32 | VK_1 | $31 | 49 | ASCII Code '1' |
33 | VK_2 | $32 | 50 | ASCII Code '2' |
34 | VK_3 | $33 | 51 | ASCII Code '3' |
35 | VK_4 | $34 | 52 | ASCII Code '4' |
36 | VK_5 | $35 | 53 | ASCII Code '5' |
37 | VK_6 | $36 | 54 | ASCII Code '6' |
38 | VK_7 | $37 | 55 | ASCII Code '7' |
39 | VK_8 | $38 | 56 | ASCII Code '8' |
40 | VK_9 | $39 | 57 | ASCII Code '9' |
41 | VK_A | $41 | 65 | ASCII Code 'A' |
42 | VK_B | $42 | 66 | ASCII Code 'B' |
43 | VK_C | $43 | 67 | ASCII Code 'C' |
44 | VK_D | $44 | 68 | ASCII Code 'D' |
45 | VK_E | $45 | 69 | ASCII Code 'E' |
46 | VK_F | $46 | 70 | ASCII Code 'F' |
47 | VK_G | $47 | 71 | ASCII Code 'G' |
48 | VK_H | $48 | 72 | ASCII Code 'H' |
49 | VK_I | $49 | 73 | ASCII Code 'I' |
50 | VK_J | $4A | 74 | ASCII Code 'J' |
51 | VK_K | $4B | 75 | ASCII Code 'K' |
52 | VK_L | $4C | 76 | ASCII Code 'L' |
53 | VK_M | $4D | 77 | ASCII Code 'M' |
54 | VK_N | $4E | 78 | ASCII Code 'N' |
55 | VK_O | $4F | 79 | ASCII Code 'O' |
56 | VK_P | $50 | 80 | ASCII Code 'P' |
57 | VK_Q | $51 | 81 | ASCII Code 'Q' |
58 | VK_R | $52 | 82 | ASCII Code 'R' |
59 | VK_S | $53 | 83 | ASCII Code 'S' |
60 | VK_T | $54 | 84 | ASCII Code 'T' |
61 | VK_U | $55 | 85 | ASCII Code 'U' |
62 | VK_V | $56 | 86 | ASCII Code 'V' |
63 | VK_W | $57 | 87 | ASCII Code 'W' |
64 | VK_X | $58 | 88 | ASCII Code 'X' |
65 | VK_Y | $59 | 89 | ASCII Code 'Y' |
66 | VK_Z | $5A | 90 | ASCII Code 'Z' |
67 | VK_LWIN | $5B | 91 | [Windowsキー左側] |
68 | VK_RWIN | $5C | 92 | [Windowsキー右側] |
69 | VK_APPS | $5D | 93 |
|
70 | VK_NUMPAD0 | $60 | 96 | テンキー[0] |
71 | VK_NUMPAD1 | $61 | 97 | テンキー[1] |
72 | VK_NUMPAD2 | $62 | 98 | テンキー[2] |
73 | VK_NUMPAD3 | $63 | 99 | テンキー[3] |
74 | VK_NUMPAD4 | $64 | 100 | テンキー[4] |
75 | VK_NUMPAD5 | $65 | 101 | テンキー[5] |
76 | VK_NUMPAD6 | $66 | 102 | テンキー[6] |
77 | VK_NUMPAD7 | $67 | 103 | テンキー[7] |
78 | VK_NUMPAD8 | $68 | 104 | テンキー[8] |
79 | VK_NUMPAD9 | $69 | 105 | テンキー[9] |
80 | VK_MULTIPLY | $6A | 106 | テンキー[*] |
81 | VK_ADD | $6B | 107 | テンキー[+] |
82 | VK_SEPARATAR | $6C | 108 |
|
83 | VK_SUBTRACT | $6D | 109 | テンキー[-] |
84 | VK_DECIMAL | $6E | 110 |
|
85 | VK_DIVIDE | $6F | 111 | テンキー[/] |
86 | VK_F1 | $70 | 112 | [F1] |
87 | VK_F2 | $71 | 113 | [F2] |
88 | VK_F3 | $72 | 114 | [F3] |
89 | VK_F4 | $73 | 115 | [F4] |
90 | VK_F5 | $74 | 116 | [F5] |
91 | VK_F6 | $75 | 117 | [F6] |
92 | VK_F7 | $76 | 118 | [F7] |
93 | VK_F8 | $77 | 119 | [F8] |
94 | VK_F9 | $78 | 120 | [F9] |
95 | VK_F10 | $79 | 121 | [F10] |
96 | VK_F11 | $7A | 122 | [F11] |
97 | VK_F12 | $7B | 123 | [F12] |
98 | VK_F13 | $7C | 124 | [F13] |
99 | VK_F14 | $7D | 125 | [F14] |
100 | VK_F15 | $7E | 126 | [F15] |
101 | VK_F16 | $7F | 127 | [F16] |
102 | VK_F17 | $80 | 128 | [F17] |
103 | VK_F18 | $81 | 129 | [F18] |
104 | VK_F19 | $82 | 130 | [F19] |
105 | VK_F20 | $83 | 131 | [F20] |
106 | VK_F21 | $84 | 132 | [F21] |
107 | VK_F22 | $85 | 133 | [F22] |
108 | VK_F23 | $86 | 134 | [F23] |
109 | VK_F24 | $87 | 135 | [F24] |
110 | VK_NUMLOCK | $90 | 144 | [NumLock] |
111 | VK_SCROLL | $91 | 145 |
|
112 | VK_LSHIFT | $A0 | 160 |
|
113 | VK_RSHIFT | $A1 | 161 |
|
114 | VK_LCONTROL | $A2 | 162 |
|
115 | VK_RCONTROL | $A3 | 163 |
|
116 | VK_LMENU | $A4 | 164 |
|
117 | VK_RMENU | $A5 | 165 |
|
118 | VK_PROCESSKEY | $E5 | 229 |
|
119 | VK_ATTN | $F6 | 246 |
|
120 | VK_CRSEL | $F7 | 247 |
|
121 | VK_EXSEL | $F8 | 248 |
|
122 | VK_EREOF | $F9 | 249 |
|
123 | VK_PLAY | $FA | 250 |
|
124 | VK_ZOOM | $FB | 251 |
|
125 | VK_NOMAME | $FC | 252 |
|
126 | VK_PAI | $FD | 253 |
|
127 | VK_OEM_CLEAR | $FE | 254 |
|
|