MouseDown, MouseUp

B

barr

Hi,

I have trouble understanding why this fails but here is what I'm trying
to do:

I have 1 form with 2 controls in it. I created a MouseDown handler for
both controls (setting up different internal things each) and 1 MouseUp
handler for the form since both controls can use the same code.

Now, what I was excepting was:

- The 2 controls would catch and call their MouseDown handlers: that works.
- And as none of the controls have no MouseUp handler the message would
be propagated to the parent form where the form MouseUp handler would be
called: that doesn't work.

Capturing the mouse doesn't help. Any ideas?

Thanks
 
B

Bram

Unfortunately, that is not true. Although the controls have no event
handlers for the MouseDown event, these controls do block the parent
Control in their respective Regions. You'll have to propagate these
events manually.
 

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

Top