Mouse Capture



I am creating pop up controls that function similar to pop up menus of the
tool pallette in that they exist until the user clicks off of them. To do
this I need to capture all MouseDown events that occur, even if they are
outside of the control. Then by evaluating the position of the click I can
determine if the control should remain exposed or be hidden.

Question: How do I direct all mouse events to be forwarded to the control
including the events that occur outside of the ClientRectangle?


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