Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intercepting WinForms mouse and touch events #1269

Closed
MihaMarkic opened this issue Sep 15, 2015 · 2 comments
Closed

Intercepting WinForms mouse and touch events #1269

MihaMarkic opened this issue Sep 15, 2015 · 2 comments
Labels

Comments

@MihaMarkic
Copy link

Somehow it looks like it is hard to intercept both touch and mouse events for WinForms. The usual suspects aren't fired (i.e. MouseDown event). I see that some messages could be intercepted by overriding WndProc but not many.

I'm trying to figure out when browser is idling (user doesn't do anything) and thus I'm interested in Mouse/Touch Up/Down events.

@amaitland
Copy link
Member

You need to hook a lower level handle, there are examples floating around see
#1098 (comment)

@MihaMarkic
Copy link
Author

Most excellent, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants