Emulating Windows Photo Viewer image dragging in c#

Posted by murasaki5 on Stack Overflow See other posts from Stack Overflow or by murasaki5
Published on 2009-12-10T18:08:01Z Indexed on 2010/03/31 18:03 UTC
Read the original article Hit count: 466

Filed under:
|
|
|

Hi, i'm trying to emulate how image is being dragged inside the windows photo viewer when it is large. The problem is, i don't how to drag the image while keeping it intact in the form's edges. If you're observing windows photo viewer, when you drag the image downward for instance the image moves and stops when the top end of the image is visible, but in my app, it continues to move since i don't know how to check when to stop it. Any idea please?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms