|
-
Mar 29th, 2000, 07:10 AM
#5
Fanatic Member
Hi Nitro,
Okay here goes:
Declarations from win api
(i have shortend them to make them fit)
Declare function GetDesktopWindow() etc
Declare function GetDC() etc
Declare function BitBlt()etc
Sub MySub()
dim MyHwnd as long
dim DskTopHwnd as long
dim DskTopDc as long
dim Dummy as long
DskTopHwnd=getdesktopwindow()
DskTopDc=GetDc(DskTopHwnd)
Dummy = BitBlt(DestDc,tLeft,tTop,tWidth,tHeight,SourceHDc,RasterOp)
I reckon the rasterop ought to SRCCOPY
SourceDC must be Hdc of the source which would be DskTopDc
DestDc would be wher yo want to paste the BitBlt output rect
Hope it helps
DocZaf
{;->
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
|