블로그 이미지
Every unexpected event is a path to learning for you. blueasa

카테고리

분류 전체보기 (2794)
Unity3D (852)
Programming (478)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (185)
협업 (11)
3DS Max (3)
Game (12)
Utility (68)
Etc (98)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (55)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday

VC깔린곳에 include폴더를 보시면 winuser.h파일이 있는데요.

 

파일내용중에 해당 부분을 찾으실수 있을겁니다.

참고하시라고 제가 가진 파일의 일부를 적습니다.


/*
 * Virtual Keys, Standard Set
 */
#define VK_LBUTTON        0x01
#define VK_RBUTTON        0x02
#define VK_CANCEL         0x03
#define VK_MBUTTON        0x04    /* NOT contiguous with L & RBUTTON */

#define VK_BACK           0x08
#define VK_TAB            0x09

#define VK_CLEAR          0x0C
#define VK_RETURN         0x0D

#define VK_SHIFT          0x10
#define VK_CONTROL        0x11
#define VK_MENU           0x12
#define VK_PAUSE          0x13
#define VK_CAPITAL        0x14

#define VK_KANA           0x15
#define VK_HANGEUL        0x15  /* old name - should be here for compatibility */
#define VK_HANGUL         0x15
#define VK_JUNJA          0x17
#define VK_FINAL          0x18
#define VK_HANJA          0x19
#define VK_KANJI          0x19

#define VK_ESCAPE         0x1B

#define VK_CONVERT        0x1C
#define VK_NONCONVERT     0x1D
#define VK_ACCEPT         0x1E
#define VK_MODECHANGE     0x1F

#define VK_SPACE          0x20
#define VK_PRIOR          0x21
#define VK_NEXT           0x22
#define VK_END            0x23
#define VK_HOME           0x24
#define VK_LEFT           0x25
#define VK_UP             0x26
#define VK_RIGHT          0x27
#define VK_DOWN           0x28
#define VK_SELECT         0x29
#define VK_PRINT          0x2A
#define VK_EXECUTE        0x2B
#define VK_SNAPSHOT       0x2C
#define VK_INSERT         0x2D
#define VK_DELETE         0x2E
#define VK_HELP           0x2F

/* VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39) */
/* VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A) */

#define VK_LWIN           0x5B
#define VK_RWIN           0x5C
#define VK_APPS           0x5D

#define VK_NUMPAD0        0x60
#define VK_NUMPAD1        0x61
#define VK_NUMPAD2        0x62
#define VK_NUMPAD3        0x63
#define VK_NUMPAD4        0x64
#define VK_NUMPAD5        0x65
#define VK_NUMPAD6        0x66
#define VK_NUMPAD7        0x67
#define VK_NUMPAD8        0x68
#define VK_NUMPAD9        0x69
#define VK_MULTIPLY       0x6A
#define VK_ADD            0x6B
#define VK_SEPARATOR      0x6C
#define VK_SUBTRACT       0x6D
#define VK_DECIMAL        0x6E
#define VK_DIVIDE         0x6F
#define VK_F1             0x70
#define VK_F2             0x71
#define VK_F3             0x72
#define VK_F4             0x73
#define VK_F5             0x74
#define VK_F6             0x75
#define VK_F7             0x76
#define VK_F8             0x77
#define VK_F9             0x78
#define VK_F10            0x79
#define VK_F11            0x7A
#define VK_F12            0x7B
#define VK_F13            0x7C
#define VK_F14            0x7D
#define VK_F15            0x7E
#define VK_F16            0x7F
#define VK_F17            0x80
#define VK_F18            0x81
#define VK_F19            0x82
#define VK_F20            0x83
#define VK_F21            0x84
#define VK_F22            0x85
#define VK_F23            0x86
#define VK_F24            0x87

#define VK_NUMLOCK        0x90
#define VK_SCROLL         0x91

/*
 * 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.
 */
#define VK_LSHIFT         0xA0
#define VK_RSHIFT         0xA1
#define VK_LCONTROL       0xA2
#define VK_RCONTROL       0xA3
#define VK_LMENU          0xA4
#define VK_RMENU          0xA5

#if(WINVER >= 0x0400)
#define VK_PROCESSKEY     0xE5
#endif /* WINVER >= 0x0400 */

#define VK_ATTN           0xF6
#define VK_CRSEL          0xF7
#define VK_EXSEL          0xF8
#define VK_EREOF          0xF9
#define VK_PLAY           0xFA
#define VK_ZOOM           0xFB
#define VK_NONAME         0xFC
#define VK_PA1            0xFD
#define VK_OEM_CLEAR      0xFE

#define VK_A     0x41
#define VK_B     0x42
#define VK_C     0x43
#define VK_D     0x44
#define VK_E     0x45
#define VK_F     0x46
#define VK_G     0x47
#define VK_H     0x48
#define VK_I     0x49
#define VK_J     0x4A
#define VK_K     0x4B
#define VK_L     0x4C
#define VK_M     0x4D
#define VK_N     0x4E
#define VK_O     0x4F
#define VK_P     0x50
#define VK_Q     0x51
#define VK_R     0x52
#define VK_S     0x53
#define VK_T     0x54
#define VK_U     0x55
#define VK_V     0x56
#define VK_W     0x57
#define VK_X     0x58
#define VK_Y     0x59
#define VK_Z     0x5A

 

가상키이름  bVK헥사값 bVK 파라메터  
VK_LBUTTON 1 1 마우스 왼쪽 버튼
VK_RBUTTON 2 2 마우스 오른쪽 버튼
VK_CANCEL 3 3 Ctrl + C
VK_MBUTTON 4 4 마우스 가운데 버튼
VK_BACK 8 8 Backspace
VK_TAB 9 9 Tab
VK_CLEAR 0C 12 CLEAR
VK_RETURN 0D 13 Enter
VK_SHIFT 10 16 Shift
VK_CONTROL 11 17 Ctrl(좌측)
VK_MENU 12 18 Alt(좌측)
VK_PAUSE 13 19 Pause Break
VK_CAPITAL 14 20 Caps Lock
VK_HANGUL 15 21 한/영 키
VK_HANJA 19 25 한자 키
VK_ESCAPE 1B 27 ESC
VK_SPACE 20 32 Spacebar
VK_PRIOR 21 33 Page Up
VK_NEXT 22 34 Page Down
VK_END 23 35 End
VK_HOME 24 36 Home
VK_LEFT 25 37 Left Arrow(←)
VK_UP 26 38 Up Arrow(↑)
VK_RIGHT 27 39 Right Arrow(→)
VK_DOWN 28 40 Down Arrow(↓)
VK_SELECT 29 41 Select
VK_EXECUTE 2B 43 EXECUTE
VK_SNAPSHOT 2C 44 PrtScr
VK_INSERT 2D 45 Insert
VK_DELETE 2E 46 Delete
VK_HELP 2F 47 Help
VK_0 30 48 0 키
VK_1 31 49 1 키
VK_2 32 50 2 키
VK_3 33 51 3 키
VK_4 34 52 4 키
VK_5 35 53 5 키
VK_6 36 54 6 키
VK_7 37 55 7 키
VK_8 38 56 8 키
VK_9 39 57 9 키
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 키
VK_LWIN 5B 91 윈도우키(좌측)
VK_RWIN 5C 92 윈도우키(우측)
VK_APPS 5D 93 App Menu 키
VK_NUMPAD0 60 96 숫자키패드 0
VK_NUMPAD1 61 97 숫자키패드 1
VK_NUMPAD2 62 98 숫자키패드 2
VK_NUMPAD3 63 99 숫자키패드 3
VK_NUMPAD4 64 100 숫자키패드 4
VK_NUMPAD5 65 101 숫자키패드 5
VK_NUMPAD6 66 102 숫자키패드 6
VK_NUMPAD7 67 103 숫자키패드 7
VK_NUMPAD8 68 104 숫자키패드 8
VK_NUMPAD9 69 105 숫자키패드 9
VK_MULTIPLY 6A 106 숫자키패드 *
VK_NUMADD 6B 107 숫자키패드 +
VK_SEPARATOR 6C 108  SEPARATOR
VK_SUBTRACT 6D 109 숫자키패드 -
VK_DECIMAL 6E 110 숫자키패드 .
VK_DEVIDE 6F 111 숫자키패드 /
VK_F1 70 112 F1 키
VK_F2 71 113 F2 키
VK_F3 72 114 F3 키
VK_F4 73 115 F4 키
VK_F5 74 116 F5 키
VK_F6 75 117 F6 키
VK_F7 76 118 F7 키
VK_F8 77 119 F8 키
VK_F9 78 120 F9 키
VK_F10 79 121 F10 키
VK_F11 7A 122 F11 키
VK_F12 7B 123 F12 키
VK_F13 7C 124 F13 키
VK_F14 7D 125 F14 키
VK_F15 7E 126 F15 키
VK_F16 7F 127 F16 키
VK_F17 80 128 F17 키
VK_F18 81 129 F18 키
VK_F19 82 130 F19 키
VK_F20 83 131 F20 키
VK_F21 84 132 F21 키
VK_F22 85 133 F22 키
VK_F23 86 134 F23 키
VK_F24 87 135 F24 키
VK_NUMLOCK 90 144 Num Lock 키
VK_SCROLL 91 145 Scroll Lock 키

 

반응형

'Programming > Win32API' 카테고리의 다른 글

IME  (0) 2010.09.02
getClienteRect 와 getWindowRect  (0) 2010.08.31
mfc, api 의 HINSTANCE 구하기 GetModuleHandle(NULL)  (0) 2010.06.03
Drag & Drop 예제 소스  (0) 2010.04.20
윈도우 핸들 제어  (0) 2010.04.14
Posted by blueasa
, |