-
Hi,
In my project, the users have the possiblity to resize the pictures that they append. The pictures are not in a picture box but in a image box. I already used a method but it doesn't work very well. When the user click on a image, 4 squares are displayed on each corner of it. And with a mousedown then a mousemove event, I resize the image according the selected square and the position of the mouse. But it is slow and my cursor can't stick correctly on the square. That's why I'd like to know how to do to resize these images during the run-time with a correct way.
Thanks for your answers.
-
You can't use any API for the Image control, because Image control doens't have hWnd property to go against. An Image just being painted on top of the form. So, I'm afraid, you'd have to stick with VB's functionality, which I think you're alredy using.