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
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