Autor Beitrag
Karle_01
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Fr 13.04.07 13:49 
Hallo,

ich hätte ein Problem und würde mich freuen, wenn mir jemand helfen kann.

Ich möchte in Delphi einen Code schreiben. Dieser Code soll ein Fenster (Window) welches keinen Focus besitzt (hinter einer Anwendung ist) kopieren und die Kopie als Bild speichern. Eine Art Screenshot von einem hidden Window... Kann mir jemand diesbezüglich weiterhelfen?

Vielen Dank im Voraus!

Gruß
Karle
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 13.04.07 14:54 
Windows unterstützt (theoretisch) in der WM_PAINT-Botschaft die Angabe des Ziel-DCs möglich. Ob das zwischen Prozessen auch automatisch übersetzt wird, weiß ich grad nicht. Die VCL kann's zumindest oft nicht richtig ^^

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Billi Berserker
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 44



BeitragVerfasst: Fr 13.04.07 20:42 
Siehe PrintWindow -> msdn2.microsoft.com/...ibrary/ms535695.aspx
geht aber erst ab WindowsXP...