Open yisqiu opened 3 years ago
The demo code shows you how to disable the key outside of what you're handling. Use e.Handled = true
once you've done your intercept code I guess.
One thing I noticed is that I had to add the call to Hook_MouseDownExt
to both MouseDownExt
and MouseUpExt
for it to function
I hook the right mouse button but I don't want the right mouse button click to show the right-click menu, that is, I want to prohibit right-click messages from being sent to other programs. How should it be realized?