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

Consume mouse event #2

Open
Aeefire opened this issue Nov 12, 2018 · 1 comment
Open

Consume mouse event #2

Aeefire opened this issue Nov 12, 2018 · 1 comment

Comments

@Aeefire
Copy link

Aeefire commented Nov 12, 2018

At first thank you for this library. We are currently trying to implement a prototype based on a standard usb mouse, for which this library is very handy!

However: Is there a possibility to "consume" the mouse event so it doesn't get forwarded to windows/any other app any more?

I'd gladly do it myself (and make a PR) but don't really have an idea where to start. Any help is greatly appreciated!

@Aeefire
Copy link
Author

Aeefire commented Nov 12, 2018

If I understand that correctly, I would need to suppress the DefWindowProc-call in WindowCreator if I wanted to do so, right? (i.e. return IntPtr.Zero;)
Seems like this may require quite some changes in the API. Not sure about the PR anymore :)

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

No branches or pull requests

1 participant