Keyboard key value

Source: Internet
Author: User
Tags delete key
Key values corresponding to keys on the keyboard in the process of software development we often deal with the keyboard, the following is my search MSDN hope to help you.  You can replace the keys on your keyboard with the following values anywhere in your code: Value description 0x1 left mouse button 0x2 right mouse 0x3 CANCEL key 0x4 middle mouse button 0x8 BACKSPACE key 0x9 TAB 0xC CLEAR key 0xD ENTER key 0x10
SHIFT key 0x11 CTRL 0x12 MENU key 0x13 PAUSE key 0x14 CAPS LOCK 0x1B ESC key 0x20 SPACEBAR key 0x21 page UP key 0x22 PAGE DOWN key 0x23 END key 0x24 HOME key 0x25 left ARROW key 0x26 up ARROW key 0x27 right ARROW key 0x28 down ARROW key 0x29 SELECT key 0x2A PRINT SCR EEN key 0x2B EXECUTE key 0x2C SNAPSHOT key 0x2D INSERT key 0x2e DELETE key 0x2F help key 0x90 NUM LOCK A to Z key is the same as a-Z letter ASCII : Value description of A key, the B-key, the C-key, the D-key, the E-key, net F-key, the G-key, "H", I-Key, the J-key, the K-key, I-key, the P-key 81 Q key of the 0 to 9 key to the X-Y key, the same as the ASCII code of the number 0-9: Value Description 48 0 key 49 1 key 50 2. Key 51 3 Key 52 4 key 53 5 key 54 6 key 55 7 key 56 8 Key 57 9 Key The following constants represent keys on the numeric keypad: Value description 0x60 0 key 0x61 1 key 0x62 2 key 0x63 3 key 0x64 4 key 0x65
5 key 0x66 6 key 0x67 7 key 0x68 8 key 0x69 9 key 0x6A multiplication sign (*) key 0x6b PLUS sign (+) key0x6c ENTER key 0x6d minus sign (-) key 0x6e DECIMAL Point (.) Key 0x6F Division sign (/) key The following constants represent function keys: Value description 0x70 F1 key 0x71 F2 key  0x72 F3 key 0x73 F4 key 0x74 F5 key 0x75 F6 key 0x76 F7 key 0x77 F8 key 0x78 F9 key 0x79 F10 key 0x7A F11 key 0x7B F12 key 0x7C F13 key 0x7d F14 Key 0x7E F15 key 0x7F F16 key

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.