|
-
May 13th, 2001, 11:41 AM
#1
Thread Starter
Addicted Member
-
May 13th, 2001, 01:05 PM
#2
Member
WHAT , can you be more clear????
so you dont want it to load in the picbox before saving???
-
May 13th, 2001, 01:08 PM
#3
Thread Starter
Addicted Member
i have this function
Sub Grabscreen(Dest As PictureBox)
Dim DeskhWnd As Long, DeskDC As Long
'Get the hWnd of the desktop
DeskhWnd = GetDesktopWindow()
'BitBlt needs the DC to copy the image. So, we
'need the GetDC API.
DeskDC = GetDC(DeskhWnd)
Dest.AutoRedraw = True
StretchBlt Dest.hwd, 0, 0, _
640, 480, DeskDC, 0, 0, Screen.Width / Screen.TwipsPerPixelX, _
Screen.Height / Screen.TwipsPerPixelY, &HCC0020
Dest.Refresh
End Sub
what i have to change to do the same thing but With StdPicture for
example not with PictureBox
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
|