-
May 13th, 2009, 03:58 AM
#1
need help about picture box
i need help about a picture box , i want a code which can zoom in and zoom out the image in picture box by mouse .. plz help
-
May 13th, 2009, 04:48 AM
#2
Re: need help about picture box
Do a search here on CG in this forum for Zoom pictures - you'll find a number of great threads by GremlinSA, DanH just to name a couple of graphics gurus here
-
May 13th, 2009, 01:52 PM
#3
Re: need help about picture box
plz help in appropriate way ...
-
May 13th, 2009, 02:50 PM
#4
Re: need help about picture box
He just did, didn't he? Refresh the page...
-
May 13th, 2009, 09:47 PM
#5
Re: need help about picture box
Originally Posted by dglienna
He just did, didn't he? Refresh the page...
i did'nt understand
-
May 13th, 2009, 09:57 PM
#6
Re: need help about picture box
Originally Posted by mahii
i did'nt understand
He told you what to search for and that there were some good posts here on the subject already. I would suggest that you follow the suggestion and search the forum, no need to someone explaining it all over if it has already been posted.
-
May 14th, 2009, 03:26 AM
#7
Re: need help about picture box
this means everything has been left on searching ......... no one knowsthe code
i searched the forum , but i want in VB6 that also in pictureBox
-
May 14th, 2009, 03:51 AM
#8
Re: need help about picture box
Originally Posted by mahii
this means everything has been left on searching ......... no one knowsthe code
No. This means that you don't want to search, and prefer to be spoonfed. Sooner or later in your career, you will realise that you actually have to do these things yourself. If you don't want to learn, that is your problem.
Never say no to learn new things, never be scared to learn new things. Look into the future, see yourself 5 years from now, do you still want to be spoonfed, don't you want to be at a level where you can conquer almost any problem you face ¿¿¿
I did a search for zoom in this VB 6 forum, and found these - there were a total of 125 threads amazing!!!! :
http://www.codeguru.com/forum/showth...highlight=zoom
http://www.codeguru.com/forum/showth...highlight=zoom
http://www.codeguru.com/forum/showth...highlight=zoom
http://www.codeguru.com/forum/showth...highlight=zoom
Now, if it is not too much trouble for you, I humply ask you to have a look at those threads, study them carefully and learn from them. Start with a project, and attempt the codes in there, examine the attachments in those threads.
-
May 14th, 2009, 08:40 AM
#9
Re: need help about picture box
Originally Posted by HanneSThEGreaT
No. This means that you don't want to search, and prefer to be spoonfed. Sooner or later in your career, you will realise that you actually have to do these things yourself. If you don't want to learn, that is your problem.
Never say no to learn new things, never be scared to learn new things. Look into the future, see yourself 5 years from now, do you still want to be spoonfed, don't you want to be at a level where you can conquer almost any problem you face ¿¿¿
I did a search for zoom in this VB 6 forum, and found these - there were a total of 125 threads amazing!!!! :
http://www.codeguru.com/forum/showth...highlight=zoom
http://www.codeguru.com/forum/showth...highlight=zoom
http://www.codeguru.com/forum/showth...highlight=zoom
http://www.codeguru.com/forum/showth...highlight=zoom
Now, if it is not too much trouble for you, I humply ask you to have a look at those threads, study them carefully and learn from them. Start with a project, and attempt the codes in there, examine the attachments in those threads.
really great posts ... really amazing ... but my problem is different ... i want when any image will be shown in a pictureBox ... if its size exceeds the size of a picture box . there should be horizantal as well as vertical scrollers with zoom in and zoomout functinality by mouse scroller button but not with commond button ...
-
May 14th, 2009, 08:47 AM
#10
Re: need help about picture box
Well, have you even attempted something yet ¿
-
May 14th, 2009, 08:57 AM
#11
Re: need help about picture box
not yet, please give me start
-
May 14th, 2009, 11:18 PM
#12
Re: need help about picture box
Mahii,
The POP of all great codes has helped you by sparing his precious time.
You have to start with mouse events + experimenting with Picture box ,Controls etc.
I think by reading your posts you want someone to write the entire code for you.
We only help them who helps themselves.
Other wise Hannesthegreat is right.
Try out something yourself, then come back with what you have created.
-
May 14th, 2009, 11:32 PM
#13
Re: need help about picture box
Try the solution from a few of those sample solutions, and they try it on your own. A more logical question would have been:
I load a picture into the pb but it doesn't fit because it's too big. How can I change:
Code:
' THIS in code blocks
into something that can help me?
Then we can help you...
-
May 14th, 2009, 11:44 PM
#14
Re: need help about picture box
/[code]
Put a picture in PB then use a slider control set its parameters then move the slider check whats happening
divide the x axis & y axis by n
something like:
x=640 ' where x is the height
y=480 ' where y is the width
then divide this by 2 which comes to 320x140 thus the picture is zoomed without distorting.
hope this helps.
[code]
Last edited by dsrahul; May 15th, 2009 at 12:18 AM.
-
May 14th, 2009, 11:55 PM
#15
Re: need help about picture box
Use code tags, or don't post at all, please. You'll confuse him further
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|