Autor Beitrag
Rupert
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Netware, Linux, WIN A-Z, DOS
Delphi 2005- Delphi 2009
BeitragVerfasst: Mo 09.02.09 17:41 
Einen Screenshot zu erzeugen ist ja hinlänglich bekannt.

Was tun, wenn der Screenshot aber negative Koordinaten hat?
d.H, der Desktop ist nach links erweitert:

Der Hauptmonitor hat die Koordinaten 0,0,1600,1280. Der 2. Monitor hat -1600,0,0,1280.
Ein Screenshot mit negaiven x-Koordinaten ist leer.

Gibt es da eine Möglichkeit?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 09.02.09 17:44 
Mit welchem Code hast du das denn versucht?
Rupert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Netware, Linux, WIN A-Z, DOS
Delphi 2005- Delphi 2009
BeitragVerfasst: Mo 09.02.09 17:45 
mit der im Forum zu fiindenden Routine

GetScreenShot (ABitmap : TBitmap); stdcall;

_________________
Grüße Rupert
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 09.02.09 17:51 
Bei mir funktioniert das (mit einem virtuellen dritten Monitor links): :nixweiss:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
             DC,                               // das 
             -1600,0,                           // Bitmap 
             SrcCopy                           // kopieren 
        );
Rupert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Netware, Linux, WIN A-Z, DOS
Delphi 2005- Delphi 2009
BeitragVerfasst: Mo 09.02.09 18:41 
..... der Jänicke ist gut....

Vielen Dank!

_________________
Grüße Rupert