键盘鼠标扫描码
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
[VB]键盘鼠标扫描码
1.∙∙常数值描述
2.vbKeyLButton &H1 鼠标左键
3.vbKeyRButton &H2 鼠标右键
4.vbKeyCancel &H3 CANCEL 键
5.vbKeyMButton &H4 鼠标中键
6.vbKeyBack &H8 BACKSPACE键
7.vbKeyTab &H9 TAB 键
8.vbKeyClear &HC CLEAR 键
9.vbKeyReturn &HD ENTER 键
10.vbKeyShift &H10 SHIFT 键
11.vbKeyControl &H11 CTRL 键
12.vbKeyMenu &H12 MENU 键
13.vbKeyPause &H13 PAUSE 键
14.vbKeyCapital &H14 CAPS LOCK键
15.vbKeyEscape &H1B ESC 键
16.vbKeySpace &H20 SPACEBAR键
17.vbKeyPageUp &H21 PAGE UP 键
18.vbKeyPageDown &H22 PAGE DOWN键
19.vbKeyEnd &H23 END 键
20.vbKeyHome &H24 HOME 键
21.vbKeyLeft &H25 LEFT 键
22.vbKeyUp &H26 UP 键
23.vbKeyRight &H27 RIGHT 键
24.vbKeyDown &H28 DOWN 键
25.vbKeySelect &H29 SELECT 键
26.vbKeyPrint &H2A PRINT SCREEN键
27.vbKeyExecute &H2B EXECUTE 键
28.vbKeySnapshot &H2C SNAPSHOT键
29.vbKeyInsert &H2D INSERT 键
30.vbKeyDelete &H2E DELETE 键
31.vbKeyHelp &H2F HELP 键
32.vbKeyNumlock &H90 NUM LOCK键
33.
34.A至Z键与A杴Z字母的ASCII码相同:
35.常数值描述
36.vbKeyA 65 A 键
37.vbKeyB 66 B 键
38.vbKeyC 67 C 键
39.vbKeyD 68 D 键
40.vbKeyE 69 E 键
41.vbKeyF 70 F 键
42.vbKeyG 71 G 键
43.vbKeyH 72 H 键
44.vbKeyI 73 I 键
45.vbKeyJ 74 J 键
46.vbKeyK 75 K 键
47.vbKeyL 76 L 键
48.vbKeyM 77 M 键
49.vbKeyN 78 N 键
50.vbKeyO 79 O 键
51.vbKeyP 80 P 键
52.vbKeyQ 81 Q 键
53.vbKeyR 82 R 键
54.vbKeyS 83 S 键
55.vbKeyT 84 T 键
56.vbKeyU 85 U 键
57.vbKeyV 86 V 键
58.vbKeyW 87 W 键
59.vbKeyX 88 X 键
60.vbKeyY 89 Y 键
61.vbKeyZ 90 Z 键
62.
63.0 至 9 键与大键盘上的数字 0至9 的ASCII码相同:
64.常数值描述
65.vbKey0 48 0 键
66.vbKey1 49 1 键
67.vbKey2 50 2 键
68.vbKey3 51 3 键
69.vbKey4 52 4 键
70.vbKey5 53 5 键
71.vbKey6 54 6 键
72.vbKey7 55 7 键
73.vbKey8 56 8 键
74.vbKey9 57 9 键
75.
76.下列常数代表数字键盘上的键:
77.常数值描述
78.vbKeyNumpad0 &H60 0 键
79.vbKeyNumpad1 &H61 1 键
80.vbKeyNumpad2 &H62 2 键
81.vbKeyNumpad3 &H63 3 键
82.vbKeyNumpad4 &H64 4 键
83.vbKeyNumpad5 &H65 5 键
84.vbKeyNumpad6 &H66 6 键
85.vbKeyNumpad7 &H67 7 键
86.vbKeyNumpad8 &H68 8 键
87.vbKeyNumpad9 &H69 9 键
88.vbKeyMultiply &H6A MULTIPLICATION SIGN (*)键
89.vbKeyAdd &H6B PLUS SIGN (+) 键
90.vbKeySeparator &H6C ENTER 键
91.vbKeySubtract &H6D MINUS SIGN (杴) 键
92.vbKeyDecimal &H6E DECIMAL POINT (.) 键
93.vbKeyDivide &H6F DIVISION SIGN (/) 键
94.
95.下列常数代表功能键:
96.常数值描述
97.vbKeyF1 &H70 F1 键
98.vbKeyF2 &H71 F2 键
99.vbKeyF3 &H72 F3 键
100.vbKeyF4 &H73 F4 键
101.vbKeyF5 &H74 F5 键
102.vbKeyF6 &H75 F6 键
103.vbKeyF7 &H76 F7 键
104.vbKeyF8 &H77 F8 键
105.vbKeyF9 &H78 F9 键
106.vbKeyF10 &H79 F10 键
107.vbKeyF11 &H7A F11 键
108.vbKeyF12 &H7B F12 键
109.vbKeyF13 &H7C F13 键
110.vbKeyF14 &H7D F14 键
111.vbKeyF15 &H7E F15 键
112.vbKeyF16 &H7F F16 键
113.