HotKeySet能否设置鼠标右键作为热键?
HotKeySet能否设置鼠标右键作为热键? Global Const $WM_RBUTTONDOWN = 0x0204GUIRegisterMsg($WM_RBUTTONDOWN, 'MyFunc')
GUICreate('MyTest')
GUISetState()
Do
Until GUIGetMsg() = -3
Func MyFunc($HWnd, $iMsg, $wParam, $lParam)
MsgBox(0, $lParam, '按下鼠标右键,按键值 = ' & BitAND($wParam, 0xFF))
EndFunc ;==>MyFunc
页:
[1]