虚拟按键表
ESC键 VK_ESCAPE (27) 回车键: VK_RETURN (13)
TAB键: VK_TAB (9) Caps Lock键: VK_CAPITAL (20)
Shift键: VK_SHIFT ($10) Ctrl键: VK_CONTROL (17)
Alt键: VK_MENU (18) 空格键: VK_SPACE ($20/32)
退格键: VK_BACK (8) 左徽标键: VK_LWIN (91)
右徽标键: VK_LWIN (92) 鼠标右键快捷键:VK_APPS (93)
Insert键: VK_INSERT (45) Home键: VK_HOME (36)
Page Up: VK_PRIOR (33) PageDown: VK_NEXT (34)
End键: VK_END (35) Delete键: VK_DELETE (46)
方向键(←): VK_LEFT (37) 方向键(↑): VK_UP (38)
方向键(→): VK_RIGHT (39) 方向键(↓): VK_DOWN (40)
VK_A 41 65 A键 VK_B 42 66 B键
VK_C 43 67 C键 VK_D 44 68 D键
VK_E 45 69 E键 VK_F 46 70 F键
VK_G 47 71 G键 VK_H 48 72 H键
VK_I 49 73 I键 VK_J 4A 74 J键
VK_K 4B 75 K键 VK_L 4C 76 L键
VK_M 4D 77 M键 VK_N 4E 78 N键
VK_O 4F 79 O键 VK_P 50 80 P键
VK_Q 51 81 Q键 VK_R 52 82 R键
VK_S 53 83 S键 VK_T 54 84 T键
VK_U 55 85 U键 VK_V 56 86 V键
VK_W 57 87 W键 VK_X 58 88 X键
VK_Y 59 89 Y键 VK_Z 5A 90 Z键
F1键: VK_F1 (112) F2键: VK_F2 (113)
F3键: VK_F3 (114) F4键: VK_F4 (115)
F5键: VK_F5 (116) F6键: VK_F6 (117)
F7键: VK_F7 (118) F8键: VK_F8 (119)
F9键: VK_F9 (120) F10键: VK_F10 (121)
F11键: VK_F11 (122) F12键: VK_F12 (123)
Num Lock键: VK_NUMLOCK (144) 小键盘0: VK_NUMPAD0 (96)
小键盘1: VK_NUMPAD0 (97) 小键盘2: VK_NUMPAD0 (98)
小键盘3: VK_NUMPAD0 (99) 小键盘4: VK_NUMPAD0 (100)
小键盘5: VK_NUMPAD0 (101) 小键盘6: VK_NUMPAD0 (102)
小键盘7: VK_NUMPAD0 (103) 小键盘8: VK_NUMPAD0 (104)
小键盘9: VK_NUMPAD0 (105) 小键盘.: VK_DECIMAL (110)
小键盘*: VK_MULTIPLY (106) 小键盘+: VK_MULTIPLY (107)
小键盘-: VK_SUBTRACT (109) 小键盘/: VK_DIVIDE (111)
Pause Break键: VK_PAUSE (19) Scroll Lock键: VK_SCROLL (145)