Virtual keycode that has to be send as key input. The following are the available predefined virtual key codes:

 

VK_NUMPAD70x67VK_BACK0x08
VK_NUMPAD80x68VK_TAB0x09
VK_NUMPAD90x69VK_RETURN0x0D
VK_MULTIPLY0x6AVK_SHIFT0x10
VK_ADD0x6BVK_CONTROL0x11
VK_SEPARATOR0x6CVK_MENU0x12
VK_SUBTRACT0x6DVK_PAUSE0x13
VK_DECIMAL0x6EVK_CAPITAL0x14
VK_DIVIDE0x6FVK_ESCAPE0x1B
VK_F10x70VK_SPACE0x20
VK_F20x71VK_END0x23
VK_F30x72VK_HOME0x24
VK_F40x73VK_LEFT0x25
VK_F50x74VK_UP0x26
VK_F60x75VK_RIGHT0x27
VK_F70x76VK_DOWN0x28
VK_F80x77VK_PRINT0x2A
VK_F90x78VK_SNAPSHOT0x2C
VK_F100x79VK_INSERT0x2D
VK_F110x7AVK_DELETE0x2E
VK_F120x7BVK_LWIN0x5B
VK_NUMLOCK0x90VK_RWIN0x5C
VK_SCROLL0x91VK_NUMPAD00x60
VK_LSHIFT0xA0VK_NUMPAD10x61
VK_RSHIFT0xA1VK_NUMPAD20x62
VK_LCONTROL0xA2VK_NUMPAD30x63
VK_RCONTROL0xA3VK_NUMPAD40x64
VK_LMENU0xA4VK_NUMPAD50x65
VK_RMENU0xA5VK_NUMPAD60x66

Character key can be converted into virtual key using VkKeyScan(TCHAR ch) function.

이 게시물을

댓글'1'

Key

KeyCode

Key

KeyCode

Key

KeyCode

Shift(좌)

16

Shift(우)

16

CapsLock

20

Ctrl(좌)

17

Ctrl(우)

25

NumLock

144

Alt(좌)

18

Alt(우)

21

ScrollLock

145

F1

112

F5

116

F9

120

F2

113

F6

117

F10

121

F3

114

F7

118

F11

122

F4

115

F8

119

F12

123

37

PgUp

33

Insert

45

38

pgDn

34

Delete

46

39

End

35

 

 

40

Home

36

 

 

Esc

27

Space

32

Pause

19

Tab

9

BackSpace

8

 

 

Enter

13

PrtScreen

-

 

 

A a

65

J j

74

S s

83

B b

66

K k

75

T t

84

C c

67

L l

76

U u

95

D d

68

M m

77

V v

86

E e

69

N n

78

W w

87

F f

70

O o

79

X x

88

G g

71

P p

80

Y y

89

H h

72

Q q

81

Z z

90

I i

73

R r

82

 

 

0 )

48

4 $

52

8 *

56

1 !

49

5 %

53

9 (

57

2 @

50

6 ^

54

 

 

3 #

51

7 &

55

 

 

0(숫자판)

96

4(숫자판)

100

8(숫자판)

104

1

97

5

101

9

105

2

98

6

102

 

 

3

99

7

103

 

 

+(숫자판)

107

*(숫자판)

106

Enter(숫자판)

13

-

109

/

111

.

110

~ `

192

[ {

219

, <

188

- _

189

] }

221

. >

190

= +

187

; :

186

/ ?

191

\ |

220

' "

222

 

 

이 댓글을

에디터 선택

※ 주의 : 페이지가 새로고침됩니다

이 댓글을 삭제하시겠습니까?

공유하기

SEARCH

MENU NAVIGATION