|
-
Mar 22nd, 2002, 01:47 AM
#1
Thread Starter
Addicted Member
Picture Resizing in a Picture Box
Hi all
I want to Know how do we resize a picture in the Picture Box
Cute Member 
-
Mar 22nd, 2002, 01:54 AM
#2
Member
Do you know anything about Bitblting? I can't tell you off the top of my head, but you'd use StretchBlt to acomplish it, I believe.
I'll let someone else do that, maybe Hack. I'm surprised to find him not online.
On Error Give Up
Mind over matter. Then if it doesn't matter, you lose your mind.
-
Mar 24th, 2002, 02:25 PM
#3
Lively Member
yeah, I checked out strecthblt and it does work.
Public Declare Function StretchBlt Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long
you use it pretty much the same way you use regular bitblt.
it is great for a drawing prog like paint, where you can zoom in.
Often talked of, never seen,
Ever coming, never been,
Daily looked for, never here,
Still approaching, coming near,
Thousands for its visit wait,
But alas for their fate,
Tho' they expect me to appear,
They will never find me here.
What's this about?
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
|