Results 1 to 2 of 2

Thread: Who will be able to answer: resizing imagebox in runtime

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    6

    Exclamation

    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.

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width