How could I click in a control and drag (not Drag and Drop) out of it but still follow the event as

Posted by Jelly Amma on Stack Overflow See other posts from Stack Overflow or by Jelly Amma
Published on 2010-03-15T09:12:24Z Indexed on 2010/03/15 10:39 UTC
Read the original article Hit count: 129

Filed under:
|
|
|
|

Hello,

I would like to allow the user to click within my UserControl and drag left/right to zoom in/out but I'd like the dragging not to be restricted to the actual control's boundaries. What sort of event or strategy would be the right way to track the mouse position outside the control and the form until the mouse click is released ?

Thanks in advance for any help or advice.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms