点监视器和Hook的结合应用
本帖最后由 csharp 于 2017-5-21 14:48 编辑一个简单的移动块,动态移动过程中使用左右箭头对块进行缩放,每次缩放 +/- 0.1 倍,倍数获取使用 Hook
**** Hidden Message ***** wParam 对应的值如下,
虚拟键码
对应值对应键
VK_LBUTTON1鼠标左键
VK_RBUTTON2鼠标右键
VK_CANCEL3Cancel
VK_MBUTTON4鼠标中键
VK_XBUTTON15
VK_XBUTTON26
VK_BACK8Backspace
VK_TAB9Tab
VK_CLEAR12Clear
VK_RETURN13Enter
VK_SHIFT16Shift
VK_CONTROL17Ctrl
VK_MENU18Alt
VK_PAUSE19Pause
VK_CAPITAL20Caps Lock
VK_KANA21
VK_HANGUL21
VK_JUNJA23
VK_FINAL24
VK_HANJA25
VK_KANJI25*
VK_ESCAPE27Esc
VK_CONVERT28
VK_NONCONVERT29
VK_ACCEPT30
VK_MODECHANGE31
VK_SPACE32Space
VK_PRIOR33Page Up
VK_NEXT34Page Down
VK_END35End
VK_HOME36Home
VK_LEFT37Left Arrow
VK_UP38Up Arrow
VK_RIGHT39Right Arrow
VK_DOWN40Down Arrow
VK_SELECT41Select
VK_PRINT42Print
VK_EXECUTE43Execute
VK_SNAPSHOT44Snapshot
VK_INSERT45Insert
VK_DELETE46Delete
VK_HELP47Help
480
491
502
513
524
535
546
557
568
579
65A
66B
67C
68D
69E
70F
71G
72H
73I
74J
75K
76L
77M
78N
79O
80P
81Q
82R
83S
84T
85U
86V
87W
88X
89Y
90Z
VK_LWIN91
VK_RWIN92
VK_APPS93
VK_SLEEP95
VK_NUMPAD096小键盘 0
VK_NUMPAD197小键盘 1
VK_NUMPAD298小键盘 2
VK_NUMPAD399小键盘 3
VK_NUMPAD4100小键盘 4
VK_NUMPAD5101小键盘 5
VK_NUMPAD6102小键盘 6
VK_NUMPAD7103小键盘 7
VK_NUMPAD8104小键盘 8
VK_NUMPAD9105小键盘 9
VK_MULTIPLY106小键盘 *
VK_ADD107小键盘 +
VK_SEPARATOR108小键盘 Enter
VK_SUBTRACT109小键盘 -
VK_DECIMAL110小键盘 .
VK_DIVIDE111小键盘 /
VK_F1112F1
VK_F2113F2
VK_F3114F3
VK_F4115F4
VK_F5116F5
VK_F6117F6
VK_F7118F7
VK_F8119F8
VK_F9120F9
VK_F10121F10
VK_F11122F11
VK_F12123F12
VK_F13124
VK_F14125
VK_F15126
VK_F16127
VK_F17128
VK_F18129
VK_F19130
VK_F20131
VK_F21132
VK_F22133
VK_F23134
VK_F24135
VK_NUMLOCK144Num Lock
VK_SCROLL145Scroll
VK_LSHIFT160
VK_RSHIFT161
VK_LCONTROL162
VK_RCONTROL163
VK_LMENU164
VK_RMENU165
VK_BROWSER_BACK166
VK_BROWSER_FORWARD167
VK_BROWSER_REFRESH168
VK_BROWSER_STOP169
VK_BROWSER_SEARCH170
VK_BROWSER_FAVORITES171
VK_BROWSER_HOME172
VK_VOLUME_MUTE173VolumeMute
VK_VOLUME_DOWN174VolumeDown
VK_VOLUME_UP175VolumeUp
VK_MEDIA_NEXT_TRACK176
VK_MEDIA_PREV_TRACK177
VK_MEDIA_STOP178
VK_MEDIA_PLAY_PAUSE179
VK_LAUNCH_MAIL180
VK_LAUNCH_MEDIA_SELECT181
VK_LAUNCH_APP1182
VK_LAUNCH_APP2183
VK_OEM_1186; :
VK_OEM_PLUS187= +
VK_OEM_COMMA188
VK_OEM_MINUS189- _
VK_OEM_PERIOD190
VK_OEM_2191/ ?
VK_OEM_3192` ~
VK_OEM_4219[ {
VK_OEM_5220\ |
VK_OEM_6221] }
VK_OEM_7222' "
VK_OEM_8223
VK_OEM_102226
VK_PACKET231
VK_PROCESSKEY229
VK_ATTN246
VK_CRSEL247
VK_EXSEL248
VK_EREOF249
VK_PLAY250
VK_ZOOM251
VK_NONAME252
VK_PA1253
VK_OEM_CLEAR254
ASCII码键盘ASCII 码键盘ASCII 码键盘ASCII 码键盘
27ESC32SPACE33!34"
35#36$37%38&
39'40(41)42*
43+44'45-46.
47/480491502
513524535546
55756857958:
59;60< 61=62>
63?64@65A66B
67C68D69E70F
71G72H73I74J
75K76L77M78N
79O80P81Q82R
83S84T85U86V
87W88X89Y90Z
91[92\9394^
95_96`97a98b
99c100d101e102f
103g104h105i106j
107k108l109m110n
111o112p113q114r
115s116t117u118v
119w120x121y122z
123{124|125}126~
能不能做个插件能用在lisp上的?
liuyj 发表于 2017-5-22 00:44
alisp怎么用 ? 学习一下,学习
挺帅,
挺帅,
挺帅,
挺帅,
挺帅,
知识好丰富,好好学习天天向上 我也来学习学习是怎么回事呢?
学习一下 不错 不错 不错,学习一下
看见真实脑洞大开啊
好好学习天天向上 Application.PreTranslateMessage += UpDownKeyHandler;
楼主这个Application是哪个类啊,怎么我的Autodesk.AutoCAD.ApplicationServices.Application没有这个事件 学习!!!!!!!!!!!!
学习一下。