do you want to do this?
http://www.developerfusion.co.uk/forums/topic.aspx?id=28529&action=showlast
rgerbig | Sun, 09 Sep 2007 22:24:00 GMT |
me.picturebox1.sizemode = Zoom
then
Private Sub DoZOOM(ByVal zoom As Integer) Try Select Case zoom Case Is = 0 Me.PBX.Height = m_CurrentPic.OriginalHeight Me.PBX.Width = m_CurrentPic.OriginalWidth Case Is <> 0 Me.PBX.Height = m_CurrentPic.OriginalHeight + (zoom) Me.PBX.Width = m_CurrentPic.OriginalWidth + (zoom) End Select Me.PBX.Refresh() CenterPBX() Catch ex As Exception End Try
|
the above code is taken from a custom control that i created-m_CurrentPic is the currently loaded image. WHen the property is set to zoom...the resizing of the control zooms the image.
dman1 | Sun, 09 Sep 2007 22:25:00 GMT |
laukoksoon | Sun, 09 Sep 2007 22:26:00 GMT |
How can I zoom picture in another picture box... I can't change into image box for I have a solution, it is just a question how to do the same with the picture...Thanks...
Hi all,Below is an animation..A bird is flying..what I am tring to do is to make the bird flying away by getting the image size smaller and smaller using timer event...What Am I doing wrong ? :blush: Private Sub Timer1_Timer()Static bird As Booleanbird = Not birdIf bird Thenaaa.Picture = bbb.Pi...
[Originally posted by Raghu Ram.G]When i load my form.. can i load it with a zoom out effect? Plz get me the code.RegardsRam.g...
Is there any way in vb that when I scroll over a picture box or click on a picure box, that it would 'blow up' to a bigger image and go back to the original size once you scroll off of the picture or reclick :ehh: ?...
I have a small picture in html and what I'm trying to do is whenever I roll the mouse over the small image a large image will popup, and when the mouse rolls off the image it goes back to small....
I'm sure you have all heard of the sad demise of Mr Douglas Adams, earlier this week, of a heart attack at age 49.He was a source of inspiration to me in particular, having grown up repeatedly listening to the Hitch Hiker's Guide To The Galaxy, and reading all his books.He will be miss...
Anyone know when it's coming out?...
OK, I've made my own gaming engine with it's own pseudo-windows and what not. When it comes to render the windows onto the device context it becomes tricky if I want one window to appear in front or behind another window. I thought about ZOrdering but when a window is created what ZO...
Can someone explain what exactly Z-Order is...? And what exactly is it used for...?Cheers......
Hi Guys,Just a quick and hopefully simple question, I'm working on an application that needs to always be at the very bottom of the zorder, i know how to send my app to the top but I need to know how to send it to the very bottom.Thanks....
I am creating an activex control in which I have a 3rd party image control and a label control. I want the label control to be on top of the image control but it's always hidden beneath the image control. Is there any way I can make it come over top of the image contro?? I have played ar...
Does Win 2k handle Zorder differently? All of my windows keep appearing at the bottom of the Zorder instead of the top when I spawn them.What the heck is going on?Eiredrake...
some components e.g. the "spinButton" are not able to bring to front! Also i set z-order in code and choose option "Bring to front" With other components it's no problem!!! Can you help me?...
hello,i have 2 forms that i want to display in 2 different ways.form1 shows form2 with vbmodal as default.then on form2 i have a check button thay says: 'always on top'.when you click on it you change the default setting either to on top or not on top.i only managed to get this work af...
[Originally posted by Jim]Using pictureboxes, how do i write a function to move a picturebox forward or backward using their Z-order property. I don't want to move them all the way to the back, just one step backward at a time and the same for forward....