It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

Resize Image[jpg, png] through Rectangle API with mouse move

Moderator: dafunkymunky

Resize Image[jpg, png] through Rectangle API with mouse move

Postby thenndral on Fri Jan 21, 2011 2:12 am

Hello,

I using vb6.0.
I want to load a image into a picture box and resize it in runtime through mouse.
Image type is jpg or png.

my logic is,
1. load image[jpg or png ] into picture box and draw a rectangle using rectangle API, according to image size.
2. resize rectangle through mouse and according to the size of rectangle change size of image.

Is my Logic is correct? Is there any other logic?
Actually, I don't the code how to make it.

If anyone can help me with code I will really appreciate it!
Thanks in advance,
thendral
thenndral
 
Posts: 1
Joined: Fri Jan 21, 2011 2:09 am

Who is online

Users browsing this forum: No registered users and 0 guests