Using the example found here:
https://stackoverflow.com/questions/547172/pass-through-mouse-events-to-parent-control
I was able to create a Panel control that passes all mouse activity to the underlying control(s). The trouble for me is that it passes ALL mouse activity. I need something that will intercept mouse move behavior but will still allow click events (left click, right click, mouse down, mouse up, and double click) to pass through. Does anyone know how to modify this code to accomplish that task?
You have not posted the code but assuming you have applied
Open in new window
as it is, you would want to look at https://docs.microsoft.comThere are many such notifications/window messages that you will find in the list. If you want to only allow clicks I think you should filter based on
Let me know if you run into any issues.
Regards,
Chinmay.