MouseDown, MouseUp

  • Thread starter Thread starter barr
  • Start date Start date
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
 
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.
 
Back
Top