04-29-2011, 05:43 AM
Use code like this.
This code is not tested and possibly with mistakes.
Macro Macro1573
This code is not tested and possibly with mistakes.
Macro Macro1573
__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"