VK.cs 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. namespace Microsoft.Win32
  2. {
  3. //VK定义
  4. public static partial class NativeMethods
  5. {
  6. /// <summary>
  7. /// 鼠标左按钮。
  8. /// </summary>
  9. public const short VK_LBUTTON = 0x01;
  10. /// <summary>
  11. /// 鼠标右按钮。
  12. /// </summary>
  13. public const short VK_RBUTTON = 0x02;
  14. /// <summary>
  15. /// Cancel 键。
  16. /// </summary>
  17. public const short VK_CANCEL = 0x03;
  18. /// <summary>
  19. /// 鼠标中按钮(三个按钮的鼠标)。
  20. /// </summary>
  21. public const short VK_MBUTTON = 0x04;
  22. /// <summary>
  23. /// 第一个 X 鼠标按钮(五个按钮的鼠标)。
  24. /// </summary>
  25. public const short VK_XBUTTON1 = 0x05;
  26. /// <summary>
  27. /// 第二个 X 鼠标按钮(五个按钮的鼠标)。
  28. /// </summary>
  29. public const short VK_XBUTTON2 = 0x06;
  30. /// <summary>
  31. /// Backspace 键。
  32. /// </summary>
  33. public const short VK_BACK = 0x08;
  34. /// <summary>
  35. /// Tab 键。
  36. /// </summary>
  37. public const short VK_TAB = 0x09;
  38. /// <summary>
  39. /// LINEFEED 键。
  40. /// </summary>
  41. public const short VK_LINEFEED = 0x0A;
  42. /// <summary>
  43. /// Clear 键。
  44. /// </summary>
  45. public const short VK_CLEAR = 0x0C;
  46. /// <summary>
  47. /// Enter 键。
  48. /// </summary>
  49. public const short VK_ENTER = 0x0D;
  50. /// <summary>
  51. /// Return 键。
  52. /// </summary>
  53. public const short VK_RETURN = 0x0D;
  54. /// <summary>
  55. /// Shift 键。
  56. /// </summary>
  57. public const short VK_SHIFT = 0x10;
  58. /// <summary>
  59. /// Ctrl 键。
  60. /// </summary>
  61. public const short VK_CONTROL = 0x11;
  62. /// <summary>
  63. /// Alt 键。
  64. /// </summary>
  65. public const short VK_MENU = 0x12;
  66. /// <summary>
  67. /// Pause 键。
  68. /// </summary>
  69. public const short VK_PAUSE = 0x13;
  70. /// <summary>
  71. /// Caps Lock 键。
  72. /// </summary>
  73. public const short VK_CAPSLOCK = 0x14;
  74. /// <summary>
  75. /// Caps Lock 键。
  76. /// </summary>
  77. public const short VK_CAPITAL = 0x14;
  78. /// <summary>
  79. /// IME Kana 模式键。
  80. /// </summary>
  81. public const short VK_KANA = 0x15;
  82. /// <summary>
  83. /// IME Hanguel 模式键。(为了保持兼容性而设置;使用 HangulMode)
  84. /// </summary>
  85. public const short VK_HANGUEL = 0x15;
  86. /// <summary>
  87. /// IME Hangul 模式键。
  88. /// </summary>
  89. public const short VK_HANGUL = 0x15;
  90. /// <summary>
  91. /// IME Junja 模式键。
  92. /// </summary>
  93. public const short VK_JUNJA = 0x17;
  94. /// <summary>
  95. /// IME 最终模式键。
  96. /// </summary>
  97. public const short VK_FINAL = 0x18;
  98. /// <summary>
  99. /// IME Kanji 模式键。
  100. /// </summary>
  101. public const short VK_KANJI = 0x19;
  102. /// <summary>
  103. /// IME Hanja 模式键。
  104. /// </summary>
  105. public const short VK_HANJA = 0x19;
  106. /// <summary>
  107. /// Esc 键。
  108. /// </summary>
  109. public const short VK_ESCAPE = 0x1B;
  110. /// <summary>
  111. /// IME 转换键。
  112. /// </summary>
  113. public const short VK_CONVERT = 0x1C;
  114. /// <summary>
  115. /// IME 非转换键。
  116. /// </summary>
  117. public const short VK_NONCONVERT = 0x1D;
  118. /// <summary>
  119. /// IME 接受键,替换 System.Windows.Forms.Keys.IMEAceept。
  120. /// </summary>
  121. public const short VK_ACCEPT = 0x1E;
  122. /// <summary>
  123. /// IME 模式更改键。
  124. /// </summary>
  125. public const short VK_MODECHANGE = 0x1F;
  126. /// <summary>
  127. /// 空格键。
  128. /// </summary>
  129. public const short VK_SPACE = 0x20;
  130. /// <summary>
  131. /// Page Up 键。
  132. /// </summary>
  133. public const short VK_PRIOR = 0x21;
  134. /// <summary>
  135. /// Page Up 键。
  136. /// </summary>
  137. public const short VK_PAFEUP = 0x21;
  138. /// <summary>
  139. /// Page Down 键。
  140. /// </summary>
  141. public const short VK_NEXT = 0x22;
  142. /// <summary>
  143. /// Page Down 键。
  144. /// </summary>
  145. public const short VK_PAGEDOWN = 0x22;
  146. /// <summary>
  147. /// End 键。
  148. /// </summary>
  149. public const short VK_END = 0x23;
  150. /// <summary>
  151. /// Home 键。
  152. /// </summary>
  153. public const short VK_HOME = 0x24;
  154. /// <summary>
  155. /// 向左键。
  156. /// </summary>
  157. public const short VK_LEFT = 0x25;
  158. /// <summary>
  159. /// 向上键。
  160. /// </summary>
  161. public const short VK_UP = 0x26;
  162. /// <summary>
  163. /// 向右键。
  164. /// </summary>
  165. public const short VK_RIGHT = 0x27;
  166. /// <summary>
  167. /// 向下键。
  168. /// </summary>
  169. public const short VK_DOWN = 0x28;
  170. /// <summary>
  171. /// Select 键。
  172. /// </summary>
  173. public const short VK_SELECT = 0x29;
  174. /// <summary>
  175. /// Print 键。
  176. /// </summary>
  177. public const short VK_PRINT = 0x2A;
  178. /// <summary>
  179. /// EXECUTE 键。
  180. /// </summary>
  181. public const short VK_EXECUTE = 0x2B;
  182. /// <summary>
  183. /// Print Screen 键。
  184. /// </summary>
  185. public const short VK_PRINTSCREEN = 0x2C;
  186. /// <summary>
  187. /// Print Screen 键。
  188. /// </summary>
  189. public const short VK_SNAPSHOT = 0x2C;
  190. /// <summary>
  191. /// Ins 键。
  192. /// </summary>
  193. public const short VK_INSERT = 0x2D;
  194. /// <summary>
  195. /// DeL 键。
  196. /// </summary>
  197. public const short VK_DELETE = 0x2E;
  198. /// <summary>
  199. /// Help 键。
  200. /// </summary>
  201. public const short VK_HELP = 0x2F;
  202. /// <summary>
  203. /// 0 键。
  204. /// </summary>
  205. public const short VK_0 = 0x30;
  206. /// <summary>
  207. /// 1 键。
  208. /// </summary>
  209. public const short VK_1 = 0x31;
  210. /// <summary>
  211. /// 2 键。
  212. /// </summary>
  213. public const short VK_2 = 0x32;
  214. /// <summary>
  215. /// 3 键。
  216. /// </summary>
  217. public const short VK_3 = 0x33;
  218. /// <summary>
  219. /// 4 键。
  220. /// </summary>
  221. public const short VK_4 = 0x34;
  222. /// <summary>
  223. /// 5 键。
  224. /// </summary>
  225. public const short VK_5 = 0x35;
  226. /// <summary>
  227. /// 6 键。
  228. /// </summary>
  229. public const short VK_6 = 0x36;
  230. /// <summary>
  231. /// 7 键。
  232. /// </summary>
  233. public const short VK_7 = 0x37;
  234. /// <summary>
  235. /// 8 键。
  236. /// </summary>
  237. public const short VK_8 = 0x38;
  238. /// <summary>
  239. /// 9 键。
  240. /// </summary>
  241. public const short VK_9 = 0x39;
  242. /// <summary>
  243. /// A 键。
  244. /// </summary>
  245. public const short VK_A = 0x41;
  246. /// <summary>
  247. /// B 键。
  248. /// </summary>
  249. public const short VK_B = 0x42;
  250. /// <summary>
  251. /// C 键。
  252. /// </summary>
  253. public const short VK_C = 0x43;
  254. /// <summary>
  255. /// D 键。
  256. /// </summary>
  257. public const short VK_D = 0x44;
  258. /// <summary>
  259. /// E 键。
  260. /// </summary>
  261. public const short VK_E = 0x45;
  262. /// <summary>
  263. /// F 键。
  264. /// </summary>
  265. public const short VK_F = 0x46;
  266. /// <summary>
  267. /// G 键。
  268. /// </summary>
  269. public const short VK_G = 0x47;
  270. /// <summary>
  271. /// H 键。
  272. /// </summary>
  273. public const short VK_H = 0x48;
  274. /// <summary>
  275. /// I 键。
  276. /// </summary>
  277. public const short VK_I = 0x49;
  278. /// <summary>
  279. /// J 键。
  280. /// </summary>
  281. public const short VK_J = 0x4A;
  282. /// <summary>
  283. /// K 键。
  284. /// </summary>
  285. public const short VK_K = 0x4B;
  286. /// <summary>
  287. /// L 键。
  288. /// </summary>
  289. public const short VK_L = 0x4C;
  290. /// <summary>
  291. /// M 键。
  292. /// </summary>
  293. public const short VK_M = 0x4D;
  294. /// <summary>
  295. /// N 键。
  296. /// </summary>
  297. public const short VK_N = 0x4E;
  298. /// <summary>
  299. /// O 键。
  300. /// </summary>
  301. public const short VK_O = 0x4F;
  302. /// <summary>
  303. /// P 键。
  304. /// </summary>
  305. public const short VK_P = 0x50;
  306. /// <summary>
  307. /// Q 键。
  308. /// </summary>
  309. public const short VK_Q = 0x51;
  310. /// <summary>
  311. /// R 键。
  312. /// </summary>
  313. public const short VK_R = 0x52;
  314. /// <summary>
  315. /// S 键。
  316. /// </summary>
  317. public const short VK_S = 0x53;
  318. /// <summary>
  319. /// T 键。
  320. /// </summary>
  321. public const short VK_T = 0x54;
  322. /// <summary>
  323. /// U 键。
  324. /// </summary>
  325. public const short VK_U = 0x55;
  326. /// <summary>
  327. /// V 键。
  328. /// </summary>
  329. public const short VK_V = 0x56;
  330. /// <summary>
  331. /// W 键。
  332. /// </summary>
  333. public const short VK_W = 0x57;
  334. /// <summary>
  335. /// X 键。
  336. /// </summary>
  337. public const short VK_X = 0x58;
  338. /// <summary>
  339. /// Y 键。
  340. /// </summary>
  341. public const short VK_Y = 0x59;
  342. /// <summary>
  343. /// Z 键。
  344. /// </summary>
  345. public const short VK_Z = 0x5A;
  346. /// <summary>
  347. /// 左 Windows 徽标键(Microsoft Natural Keyboard,人体工程学键盘)。
  348. /// </summary>
  349. public const short VK_LWIN = 0x5B;
  350. /// <summary>
  351. /// 右 Windows 徽标键(Microsoft Natural Keyboard,人体工程学键盘)。
  352. /// </summary>
  353. public const short VK_RWIN = 0x5C;
  354. /// <summary>
  355. /// 应用程序键(Microsoft Natural Keyboard,人体工程学键盘)。
  356. /// </summary>
  357. public const short VK_APPS = 0x5D;
  358. /// <summary>
  359. /// 计算机睡眠键。
  360. /// </summary>
  361. public const short VK_SLEEP = 0x5F;
  362. /// <summary>
  363. /// 数字键盘上的 0 键。
  364. /// </summary>
  365. public const short VK_NUMPAD0 = 0x60;
  366. /// <summary>
  367. /// 数字键盘上的 1 键。
  368. /// </summary>
  369. public const short VK_NUMPAD1 = 0x61;
  370. /// <summary>
  371. /// 数字键盘上的 2 键。
  372. /// </summary>
  373. public const short VK_NUMPAD2 = 0x62;
  374. /// <summary>
  375. /// 数字键盘上的 3 键。
  376. /// </summary>
  377. public const short VK_NUMPAD3 = 0x63;
  378. /// <summary>
  379. /// 数字键盘上的 4 键。
  380. /// </summary>
  381. public const short VK_NUMPAD4 = 0x64;
  382. /// <summary>
  383. /// 数字键盘上的 5 键。
  384. /// </summary>
  385. public const short VK_NUMPAD5 = 0x65;
  386. /// <summary>
  387. /// 数字键盘上的 6 键。
  388. /// </summary>
  389. public const short VK_NUMPAD6 = 0x66;
  390. /// <summary>
  391. /// 数字键盘上的 7 键。
  392. /// </summary>
  393. public const short VK_NUMPAD7 = 0x67;
  394. /// <summary>
  395. /// 数字键盘上的 8 键。
  396. /// </summary>
  397. public const short VK_NUMPAD8 = 0x68;
  398. /// <summary>
  399. /// 数字键盘上的 9 键。
  400. /// </summary>
  401. public const short VK_NUMPAD9 = 0x69;
  402. /// <summary>
  403. /// 数字键盘上的 乘号键。
  404. /// </summary>
  405. public const short VK_MULTIPLY = 0x6A;
  406. /// <summary>
  407. /// 数字键盘上的 加号键。
  408. /// </summary>
  409. public const short VK_ADD = 0x6B;
  410. /// <summary>
  411. /// 数字键盘上的 回车键。
  412. /// </summary>
  413. public const short VK_SEPARATOR = 0x6C;
  414. /// <summary>
  415. /// 数字键盘上的 减号键。
  416. /// </summary>
  417. public const short VK_SUBTRACT = 0x6D;
  418. /// <summary>
  419. /// 数字键盘上的 句点键。
  420. /// </summary>
  421. public const short VK_DECIMAL = 0x6E;
  422. /// <summary>
  423. /// 数字键盘上的 除号键。
  424. /// </summary>
  425. public const short VK_DIVIDE = 0x6F;
  426. /// <summary>
  427. /// F1 键。
  428. /// </summary>
  429. public const short VK_F1 = 0x70;
  430. /// <summary>
  431. /// F2 键。
  432. /// </summary>
  433. public const short VK_F2 = 0x71;
  434. /// <summary>
  435. /// F3 键。
  436. /// </summary>
  437. public const short VK_F3 = 0x72;
  438. /// <summary>
  439. /// F4 键。
  440. /// </summary>
  441. public const short VK_F4 = 0x73;
  442. /// <summary>
  443. /// F5 键。
  444. /// </summary>
  445. public const short VK_F5 = 0x74;
  446. /// <summary>
  447. /// F6 键。
  448. /// </summary>
  449. public const short VK_F6 = 0x75;
  450. /// <summary>
  451. /// F7 键。
  452. /// </summary>
  453. public const short VK_F7 = 0x76;
  454. /// <summary>
  455. /// F8 键。
  456. /// </summary>
  457. public const short VK_F8 = 0x77;
  458. /// <summary>
  459. /// F9 键。
  460. /// </summary>
  461. public const short VK_F9 = 0x78;
  462. /// <summary>
  463. /// F10 键。
  464. /// </summary>
  465. public const short VK_F10 = 0x79;
  466. /// <summary>
  467. /// F11 键。
  468. /// </summary>
  469. public const short VK_F11 = 0x7A;
  470. /// <summary>
  471. /// F12 键。
  472. /// </summary>
  473. public const short VK_F12 = 0x7B;
  474. /// <summary>
  475. /// F13 键。
  476. /// </summary>
  477. public const short VK_F13 = 0x7C;
  478. /// <summary>
  479. /// F14 键。
  480. /// </summary>
  481. public const short VK_F14 = 0x7D;
  482. /// <summary>
  483. /// F15 键。
  484. /// </summary>
  485. public const short VK_F15 = 0x7E;
  486. /// <summary>
  487. /// F16 键。
  488. /// </summary>
  489. public const short VK_F16 = 0x7F;
  490. /// <summary>
  491. /// F17 键。
  492. /// </summary>
  493. public const short VK_F17 = 0x80;
  494. /// <summary>
  495. /// F18 键。
  496. /// </summary>
  497. public const short VK_F18 = 0x81;
  498. /// <summary>
  499. /// F19 键。
  500. /// </summary>
  501. public const short VK_F19 = 0x82;
  502. /// <summary>
  503. /// F20 键。
  504. /// </summary>
  505. public const short VK_F20 = 0x83;
  506. /// <summary>
  507. /// F21 键。
  508. /// </summary>
  509. public const short VK_F21 = 0x84;
  510. /// <summary>
  511. /// F22 键。
  512. /// </summary>
  513. public const short VK_F22 = 0x85;
  514. /// <summary>
  515. /// F23 键。
  516. /// </summary>
  517. public const short VK_F23 = 0x86;
  518. /// <summary>
  519. /// F24 键。
  520. /// </summary>
  521. public const short VK_F24 = 0x87;
  522. /// <summary>
  523. /// Num Lock 键。
  524. /// </summary>
  525. public const short VK_NUMLOCK = 0x90;
  526. /// <summary>
  527. /// Scroll Lock 键。
  528. /// </summary>
  529. public const short VK_SCROLL = 0x91;
  530. /// <summary>
  531. ///
  532. /// </summary>
  533. public const short VK_OEM_NEC_EQUAL = 0x92;
  534. /// <summary>
  535. ///
  536. /// </summary>
  537. public const short VK_OEM_FJ_JISHO = 0x92;
  538. /// <summary>
  539. ///
  540. /// </summary>
  541. public const short VK_OEM_FJ_MASSHOU = 0x93;
  542. /// <summary>
  543. ///
  544. /// </summary>
  545. public const short VK_OEM_FJ_TOUROKU = 0x94;
  546. /// <summary>
  547. ///
  548. /// </summary>
  549. public const short VK_OEM_FJ_LOYA = 0x95;
  550. /// <summary>
  551. ///
  552. /// </summary>
  553. public const short VK_OEM_FJ_ROYA = 0x96;
  554. /// <summary>
  555. /// 左 Shift 键。
  556. /// </summary>
  557. public const short VK_LSHIFT = 0xA0;
  558. /// <summary>
  559. /// 右 Shift 键。
  560. /// </summary>
  561. public const short VK_RSHIFT = 0xA1;
  562. /// <summary>
  563. /// 左 Ctrl 键。
  564. /// </summary>
  565. public const short VK_LCONTROL = 0xA2;
  566. /// <summary>
  567. /// 右 Ctrl 键。
  568. /// </summary>
  569. public const short VK_RCONTROL = 0xA3;
  570. /// <summary>
  571. /// 左 Alt 键。
  572. /// </summary>
  573. public const short VK_LMENU = 0xA4;
  574. /// <summary>
  575. /// 右 Alt 键。
  576. /// </summary>
  577. public const short VK_RMENU = 0xA5;
  578. /// <summary>
  579. /// 浏览器后退键(Windows 2000 或更高版本)。
  580. /// </summary>
  581. public const short VK_BROWSER_BACK = 0xA6;
  582. /// <summary>
  583. /// 浏览器前进键(Windows 2000 或更高版本)。
  584. /// </summary>
  585. public const short VK_BROWSER_FORWARD = 0xA7;
  586. /// <summary>
  587. /// 浏览器刷新键(Windows 2000 或更高版本)。
  588. /// </summary>
  589. public const short VK_BROWSER_REFRESH = 0xA8;
  590. /// <summary>
  591. /// 浏览器停止键(Windows 2000 或更高版本)。
  592. /// </summary>
  593. public const short VK_BROWSER_STOP = 0xA9;
  594. /// <summary>
  595. /// 浏览器搜索键(Windows 2000 或更高版本)。
  596. /// </summary>
  597. public const short VK_BROWSER_SEARCH = 0xAA;
  598. /// <summary>
  599. /// 浏览器收藏夹键(Windows 2000 或更高版本)。
  600. /// </summary>
  601. public const short VK_BROWSER_FAVORITES = 0xAB;
  602. /// <summary>
  603. /// 浏览器主页键(Windows 2000 或更高版本)。
  604. /// </summary>
  605. public const short VK_BROWSER_HOME = 0xAC;
  606. /// <summary>
  607. /// 静音键(Windows 2000 或更高版本)。
  608. /// </summary>
  609. public const short VK_VOLUME_MUTE = 0xAD;
  610. /// <summary>
  611. /// 减小音量键(Windows 2000 或更高版本)。
  612. /// </summary>
  613. public const short VK_VOLUME_DOWN = 0xAE;
  614. /// <summary>
  615. /// 增大音量键(Windows 2000 或更高版本)。
  616. /// </summary>
  617. public const short VK_VOLUME_UP = 0xAF;
  618. /// <summary>
  619. /// 媒体下一曲目键(Windows 2000 或更高版本)。
  620. /// </summary>
  621. public const short VK_MEDIA_NEXT_TRACK = 0xB0;
  622. /// <summary>
  623. /// 媒体上一曲目键(Windows 2000 或更高版本)。
  624. /// </summary>
  625. public const short VK_MEDIA_PREV_TRACK = 0xB1;
  626. /// <summary>
  627. /// 媒体停止键(Windows 2000 或更高版本)。
  628. /// </summary>
  629. public const short VK_MEDIA_STOP = 0xB2;
  630. /// <summary>
  631. /// 媒体播放暂停键(Windows 2000 或更高版本)。
  632. /// </summary>
  633. public const short VK_MEDIA_PLAY_PAUSE = 0xB3;
  634. /// <summary>
  635. /// 启动邮件键(Windows 2000 或更高版本)。
  636. /// </summary>
  637. public const short VK_LAUNCH_MAIL = 0xB4;
  638. /// <summary>
  639. /// 选择媒体键(Windows 2000 或更高版本)。
  640. /// </summary>
  641. public const short VK_LAUNCH_MEDIA_SELECT = 0xB5;
  642. /// <summary>
  643. /// 启动应用程序一键(Windows 2000 或更高版本)。
  644. /// </summary>
  645. public const short VK_LAUNCH_APP1 = 0xB6;
  646. /// <summary>
  647. /// 启动应用程序二键(Windows 2000 或更高版本)。
  648. /// </summary>
  649. public const short VK_LAUNCH_APP2 = 0xB7;
  650. /// <summary>
  651. /// OEM 1 键。
  652. /// </summary>
  653. public const short VK_OEM_1 = 0xBA; // ';:' for US
  654. /// <summary>
  655. /// 美式标准键盘上的 OEM 分号键(Windows 2000 或更高版本)。
  656. /// </summary>
  657. public const short VK_OEM_SEMICOLON = 0xBA;
  658. /// <summary>
  659. /// 任何国家/地区键盘上的 OEM 加号键(Windows 2000 或更高版本)。
  660. /// </summary>
  661. public const short VK_OEM_PLUS = 0xBB;
  662. /// <summary>
  663. /// 任何国家/地区键盘上的 OEM 逗号键(Windows 2000 或更高版本)。
  664. /// </summary>
  665. public const short VK_OEM_COMMA = 0xBC;
  666. /// <summary>
  667. /// 任何国家/地区键盘上的 OEM 减号键(Windows 2000 或更高版本)。
  668. /// </summary>
  669. public const short VK_OEM_MINUS = 0xBD;
  670. /// <summary>
  671. /// 任何国家/地区键盘上的 OEM 句点键(Windows 2000 或更高版本)。
  672. /// </summary>
  673. public const short VK_OEM_PERIOD = 0xBE;
  674. /// <summary>
  675. /// 美式标准键盘上的 OEM 问号键(Windows 2000 或更高版本)。
  676. /// </summary>
  677. public const short VK_OEM_QUESTION = 0xBF;
  678. /// <summary>
  679. /// OEM 2 键。
  680. /// </summary>
  681. public const short VK_OEM_2 = 0xBF;
  682. /// <summary>
  683. /// 美式标准键盘上的 OEM 波形符键(Windows 2000 或更高版本)。
  684. /// </summary>
  685. public const short VK_OEM_OEMTILDE = 0xC0;
  686. /// <summary>
  687. /// OEM 3 键。
  688. /// </summary>
  689. public const short VK_OEM_3 = 0xC0;
  690. /// <summary>
  691. /// OEM 4 键。
  692. /// </summary>
  693. public const short VK_OEM_4 = 0xDB;
  694. /// <summary>
  695. /// 美式标准键盘上的 OEM 左括号键(Windows 2000 或更高版本)。
  696. /// </summary>
  697. public const short VK_OEM_OPENBRACKETS = 0xDB;
  698. /// <summary>
  699. /// 美式标准键盘上的 OEM 管道键(Windows 2000 或更高版本)。
  700. /// </summary>
  701. public const short VK_OEM_PIPLE = 0xDC;
  702. /// <summary>
  703. /// OEM 5 键。
  704. /// </summary>
  705. public const short VK_OEM_5 = 0xDC;
  706. /// <summary>
  707. /// OEM 6 键。
  708. /// </summary>
  709. public const short VK_OEM_6 = 0xDD;
  710. /// <summary>
  711. /// 美式标准键盘上的 OEM 右括号键(Windows 2000 或更高版本)。
  712. /// </summary>
  713. public const short VK_OEM_CLOSEBRACKETS = 0xDD;
  714. /// <summary>
  715. /// OEM 7 键。
  716. /// </summary>
  717. public const short VK_OEM_7 = 0xDE;
  718. /// <summary>
  719. /// 美式标准键盘上的 OEM 单/双引号键(Windows 2000 或更高版本)。
  720. /// </summary>
  721. public const short VK_OEM_QUOTES = 0xDE;
  722. /// <summary>
  723. /// OEM 8 键。
  724. /// </summary>
  725. public const short VK_OEM_8 = 0xDF;
  726. /// <summary>
  727. /// 日本AX键盘的 AX 键。
  728. /// </summary>
  729. public const short VK_OEM_AX = 0xE1;
  730. /// <summary>
  731. /// OEM 102 键。
  732. /// </summary>
  733. public const short VK_OEM_102 = 0xE2;
  734. /// <summary>
  735. /// RT 102 键的键盘上的 OEM 尖括号或反斜杠键(Windows 2000 或更高版本)。
  736. /// </summary>
  737. public const short VK_OEM_BACKSLASH = 0xE2;
  738. /// <summary>
  739. ///
  740. /// </summary>
  741. public const short VK_ICO_HELP = 0xE3;
  742. /// <summary>
  743. ///
  744. /// </summary>
  745. public const short VK_ICO_00 = 0xE4;
  746. /// <summary>
  747. /// Process Key 键。输入法处理键。
  748. /// </summary>
  749. public const short VK_PROCESSKEY = 0xE5;
  750. /// <summary>
  751. ///
  752. /// </summary>
  753. public const short VK_ICO_CLEAR = 0xE6;
  754. /// <summary>
  755. /// 用于将 Unicode 字符当作键击传递。Packet 键值是用于非键盘输入法的 32 位虚拟键值的低位字。
  756. /// </summary>
  757. public const short VK_PACKET = 0xE7;
  758. /// <summary>
  759. ///
  760. /// </summary>
  761. public const short VK_OEM_RESET = 0xE9;
  762. /// <summary>
  763. ///
  764. /// </summary>
  765. public const short VK_OEM_JUMP = 0xEA;
  766. /// <summary>
  767. ///
  768. /// </summary>
  769. public const short VK_OEM_PA1 = 0xEB;
  770. /// <summary>
  771. ///
  772. /// </summary>
  773. public const short VK_OEM_PA2 = 0xEC;
  774. /// <summary>
  775. ///
  776. /// </summary>
  777. public const short VK_OEM_PA3 = 0xED;
  778. /// <summary>
  779. ///
  780. /// </summary>
  781. public const short VK_OEM_WSCTRL = 0xEE;
  782. /// <summary>
  783. ///
  784. /// </summary>
  785. public const short VK_OEM_CUSEL = 0xEF;
  786. /// <summary>
  787. ///
  788. /// </summary>
  789. public const short VK_OEM_ATTN = 0xF0;
  790. /// <summary>
  791. ///
  792. /// </summary>
  793. public const short VK_OEM_FINISH = 0xF1;
  794. /// <summary>
  795. ///
  796. /// </summary>
  797. public const short VK_OEM_COPY = 0xF2;
  798. /// <summary>
  799. ///
  800. /// </summary>
  801. public const short VK_OEM_AUTO = 0xF3;
  802. /// <summary>
  803. ///
  804. /// </summary>
  805. public const short VK_OEM_ENLW = 0xF4;
  806. /// <summary>
  807. ///
  808. /// </summary>
  809. public const short VK_OEM_BACKTAB = 0xF5;
  810. /// <summary>
  811. /// Attn 键。
  812. /// </summary>
  813. public const short VK_ATTN = 0xF6;
  814. /// <summary>
  815. /// Crsel 键。
  816. /// </summary>
  817. public const short VK_CRSEL = 0xF7;
  818. /// <summary>
  819. /// Exsel 键。
  820. /// </summary>
  821. public const short VK_EXSEL = 0xF8;
  822. /// <summary>
  823. /// ERASE EOF 键。
  824. /// </summary>
  825. public const short VK_EREOF = 0xF9;
  826. /// <summary>
  827. /// Play 键。
  828. /// </summary>
  829. public const short VK_PLAY = 0xFA;
  830. /// <summary>
  831. /// Zoom 键。
  832. /// </summary>
  833. public const short VK_ZOOM = 0xFB;
  834. /// <summary>
  835. /// 保留以备将来使用的常数。
  836. /// </summary>
  837. public const short VK_NONAME = 0xFC;
  838. /// <summary>
  839. /// PA1 键。
  840. /// </summary>
  841. public const short VK_PA1 = 0xFD;
  842. /// <summary>
  843. /// Clear 键。
  844. /// </summary>
  845. public const short VK_OEM_CLEAR = 0xFE;
  846. }
  847. }