Re: VB2005 Express - Drag & Resize a Picture Box with Mouse
TheTree
I have searched and search for an example of how drag and resize a PictureBox using the mouse. Your project code is the only example that I have found that is simple and WORKS!
Re: VB2005 Express - Drag & Resize a Picture Box with Mouse
This is a very good piece of code. It is really not a simple task to add a resize frame to a picturebox.
Now it would be perfect, if someone could create a new picturebox control, that inherits from the old picturebox control and add the functionality described here.
The benefit would be, that you can use the extemded picturebox in your application multiple times only by instanciating it.
This would be perfect for an application I am about to develop, where you can place multiple pictureboxes inside a parent picturebox to create a photo collage. With the functionality described here, it is possible to easily resize the pictures.
Later the collage should be rendered to a final bitmap.