-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
fix mouse events in the wpf control #4720
Conversation
I'm surprised the child HWND isn't getting those events, actually. It's not terribly different from a window hosting a button as a child (where the button is just another HWND, ala standard win32/user32.)... I'd be concerned about pursuing a solution based on us not being able to figure out why mouse events aren't going in when keyboard events definitely are. |
The child HWND does get the events. The problem was that we were processing these events in the |
70b9f05
to
b883028
Compare
b883028
to
a7fd75a
Compare
Summary of the Pull Request
PR #4548 inadvertantly broke mouse button input in the WPF control. This happened due to the extra layer of HWND indirection. The fix is to move the mouse button handling down into the native control where the window messages are now being sent.
References
PR Checklist
Validation Steps Performed
VS was patched with new bits to ensure correct behavior.