﻿

# Delphi 键盘码表

VK_LBUTTON = 1;
VK_RBUTTON = 2;
VK_CANCEL = 3;
VK_MBUTTON = 4; { NOT contiguous with L & RBUTTON }
VK_BACK = 8;
VK_TAB = 9;
VK_CLEAR = 12;
VK_RETURN = 13;
VK_SHIFT = \$10;
VK_CONTROL = 17;
VK_PAUSE = 19;
VK_CAPITAL = 20;
VK_KANA = 21;
VK_HANGUL = 21;
VK_JUNJA = 23;
VK_FINAL = 24;
VK_HANJA = 25;
VK_KANJI = 25;
VK_CONVERT = 28;
VK_NONCONVERT = 29;
VK_ACCEPT = 30;
VK_MODECHANGE = 31;
VK_ESCAPE = 27;
VK_SPACE = \$20;
VK_PRIOR = 33;
VK_NEXT = 34;
VK_END = 35;
VK_HOME = 36;
VK_LEFT = 37;
VK_UP = 38;
VK_RIGHT = 39;
VK_DOWN = 40;
VK_Select = 41;
VK_PRINT = 42;
VK_EXECUTE = 43;
VK_SNAPSHOT = 44;
VK_Insert = 45;
VK_Delete = 46;
VK_HELP = 47;
{ VK_0 thru VK_9 are the same as ASCII ''0'' thru ''9'' (\$30 – \$39) }
{ VK_A thru VK_Z are the same as ASCII ''A'' thru ''Z'' (\$41 – \$5A) }
VK_LWIN = 91;
VK_RWIN = 92;
VK_APPS = 93;
VK_MULTIPLY = 106;
VK_SEPARATOR = 108;
VK_SUBTRACT = 109;
VK_DECIMAL = 110;
VK_DIVIDE = 111;
VK_F1 = 112;
VK_F2 = 113;
VK_F3 = 114;
VK_F4 = 115;
VK_F5 = 116;
VK_F6 = 117;
VK_F7 = 118;
VK_F8 = 119;
VK_F9 = 120;
VK_F10 = 121;
VK_F11 = 122;
VK_F12 = 123;
VK_F13 = 124;
VK_F14 = 125;
VK_F15 = 126;
VK_F16 = 127;
VK_F17 = 128;
VK_F18 = 129;
VK_F19 = 130;
VK_F20 = 131;
VK_F21 = 132;
VK_F22 = 133;
VK_F23 = 134;
VK_F24 = 135;
VK_NUMLOCK = 144;
VK_SCROLL = 145;
{ VK_L & VK_R – left and right Alt, Ctrl and Shift virtual keys.
Used only as parameters to GetAsyncKeyState() and GetKeyState().
No other API or message will distinguish left and right keys in this way. }
VK_LSHIFT = 160;
VK_RSHIFT = 161;
VK_LCONTROL = 162;
VK_RCONTROL = 163;
VK_PROCESSKEY = 229;
VK_ATTN = 246;
VK_CRSEL = 247;
VK_EXSEL = 248;
VK_EREOF = 249;
VK_PLAY = 250;
VK_ZOOM = 251;
VK_NONAME = 252;
VK_PA1 = 253;
VK_OEM_CLEAR = 254;

1. 还没有评论

Trackbacks & Pingbacks ( 0 )
{"ft_lang_label":"__label__en","ft_lang_prob":0.5211303,"math_prob":0.9999826,"size":2015,"snap":"2022-40-2023-06","text_gpt3_token_len":834,"char_repetition_ratio":0.2033814,"word_repetition_ratio":0.005277045,"special_character_ratio":0.5280397,"punctuation_ratio":0.2823834,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9997035,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-09-27T20:13:58Z\",\"WARC-Record-ID\":\"<urn:uuid:2665ef78-e924-49a9-b3ea-c58840bc82b5>\",\"Content-Length\":\"60836\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:33c94d3e-070e-4c73-8f3a-2f0febab92da>\",\"WARC-Concurrent-To\":\"<urn:uuid:d0c124b7-88c8-4271-9b3b-7aab21b46192>\",\"WARC-IP-Address\":\"103.6.84.191\",\"WARC-Target-URI\":\"https://www.cfresh.net/web-security/357\",\"WARC-Payload-Digest\":\"sha1:DZETTGRSNTQG2SDEI6VIM3ADPLNIUHXF\",\"WARC-Block-Digest\":\"sha1:KJB54H2I7XZMWJFHRK33ZGURQTFEMIEF\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030335058.80_warc_CC-MAIN-20220927194248-20220927224248-00205.warc.gz\"}"}