Einzelnen Beitrag anzeigen

Fukiszo
(Gast)

n/a Beiträge
 
#7

AW: MagSetWindowFilterList function not remove specified window of screenshot

  Alt 27. Jan 2018, 21:48
Delphi-Quellcode:
 MyBitmap.Canvas.CopyRect(Rect(0, 0, MyBitmap.Width, MyBitmap.Height), Canvas,
                               Rect(0, 0, r.Width, r.Height));
Delphi-Quellcode:
my example was made for a full screen, not part of screen
use it like this:
 MyBitmap.Canvas.CopyRect(Rect(X.Start, Y.Start, X.End, Y.End), Canvas,
                          Rect(X.Start, Y.Start, X.End, Y.End));

X and Y are Screen Offsets, not your Application Window Offsets
eg, Position [0,0] = topleft screen corner and not your application windows coordinate!
but better wait, others may give much better methods than my rude ones.

Geändert von Fukiszo (27. Jan 2018 um 21:56 Uhr)
  Mit Zitat antworten Zitat