Skip to content
This repository was archived by the owner on Apr 21, 2021. It is now read-only.

Commit 1733016

Browse files
committed
#5 fix mouse wheel button click event not captured
1 parent f81a80b commit 1733016

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

EventHook/Hooks/MouseHook.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ public enum MouseMessages
2020
WM_MOUSEMOVE = 0x0200,
2121
WM_MOUSEWHEEL = 0x020A,
2222
WM_RBUTTONDOWN = 0x0204,
23-
WM_RBUTTONUP = 0x0205
23+
WM_RBUTTONUP = 0x0205,
24+
WM_WHEELBUTTONDOWN = 0x207,
25+
WM_WHEELBUTTONUP = 0x208,
2426
}
2527

2628
[StructLayout(LayoutKind.Sequential)]

0 commit comments

Comments
 (0)