472,119 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

How do I pan a picturebox???

I've created a picturebox inside a panel control with autoscroll enabled.
The picturebox is twice the size of the panel so scrollbars are always
shown. What I would like to do, is when the user presses the left mouse
button and moves the mouse, the mouse cursor stays frozen on screen, but the
image within the picturebox is panned around (the image is not technically
moving, but the location of the picturebox via the autoscrollposition
property).

Does anyone know how to do this? How do you keep the mouse cursor frozen
too?

Thanks in advance for any feedback.

Paul L.

Nov 16 '05 #1
0 1979

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by SamSpade | last post: by
reply views Thread by akh | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.