Capturing mouse events on a UserControl that contains an ActiveX/COM component.



I am trying to capturing mouse events on a UserControl that contains
an ActiveX component. My goal to is to prevent the ActiveX/COM
component from recieving mouse events, unless I want it to. I
subclassed the axinterop.* version of the ActiveX/COM control and have
overriden the WndProc() method. However, I only see WM_PARENTNOTIFY
messages related to mouse events. The ActiveX/COM is still recieving
and processing the mouse events, then notifing me. How can I get to
the event BEFORE the ActiveX/COM control.

Any ideas?


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question