|
-
Apr 5th, 2000, 08:57 PM
#2
Junior Member
BitBlt
Try BitBlt. Like this:
Put this into your general declarations:
Declare Function BitBlt Lib "gdi32" _
(ByVal hDestDC 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 dwRop As Long) As Long
' Thats the API call for it
PictureWithOtherPicsInIt.Cls
BitBlt PictureWithOtherPicsInIt.hDC, DestinationX, _
DestinationY, PictureToMove.ScaleHeight, _
PictureToMove.ScaleWidth, PictureToMove.hDC, _
(Where in the picture picture one is in relation to X), _
(Where in the picture picture one is in relation to Y), _
vbSrcCopy
That should do it...Sorry if that was a bit confusing.
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
|