문제

Is there a way, even a dirty hack, to avoid receiving WM_MOUSEMOVE events in a WH_MOUSE_LL hook? I'm interested only in wheel rotations and buttons. The performance cost of receiving WM_MOUSEMOVE is unnacceptable in my scenario.

I cannot use WH_MOUSE.

도움이 되었습니까?

해결책

There is no way to tell a hook to not receive particular messages. When you hook the mouse, especially a low level hook, you receive everything the mouse does.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top