ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
در سیستم 64 بیت
Public Function LowLevelMouseProc(ByVal nCode As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr
If nCode > 0 Then
Select Case wParam
Case WM_NCDESTROY, WM_DESTROY
UnhookWindowsHookEx hhk
Case WM_RBUTTONDOWN, WM_RBUTTONUP
LowLevelMouseProc = 1
Exit Function
Case Else
( LowLevelMouseProc = CallNextHookEx(hhk, nCode, wParam, lParam
End Select
End If
CallNextHookEx hhk, nCode, wParam, lParam
End Function
Responding To Mouse Click mouse-click
A hook is a mechanism by which an application can intercept events, such as
messages, mouse actions, and keystrokes