Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prt Sc
#4
Use code like this.
This code is not tested and possibly with mistakes.

Macro Macro1573
Code:
Copy      Help
__MemBmp bWindow1.Create(width1 height1 1 x1 y1) ;;capture window 1
__MemBmp bWindow2.Create(width2 height2 1 x2 y2) ;;capture window 2
__MemBmp bAll.Create(width3 height3) ;;create empty bitmap for the above bitmaps
BitBlt bAll.dc 0 0 width1 height1 bWindow1.dc 0 0 SRCCOPY ;;copy from bWindow1 to bAll
BitBlt bAll.dc width1 0 width2 height2 bWindow2.dc 0 0 SRCCOPY ;;copy from bWindow2 to bAll
SaveBitmap bAll.bm "file.bmp"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)