Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prt Sc
#1
Anyway to take a screenshot of current window using QM?

Note: Can't use Alt+Prt Scr
#2
CaptureImageOnScreen
#3
Thats great, can I get two different ones and save them together in the same bmp file side by side?
#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"
#5
Perfect thank you, how do you print a bitmap? Also, needs to be scaled to fit 8.5" x 11".

Thank you!

Can WM_PRINT be used?
#6
To scale, use function CopyImage. Documented in MSDN.
To print: run "file.bmp" "" "print"


Forum Jump:


Users browsing this thread: 1 Guest(s)