Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#2

Re: Screenshot und semi transparente fenster

  Alt 20. Apr 2008, 08:01
Hallo

Bei BitBlt muss man gemäss msdn noch den "raster operation code" CAPTUREBLT angeben.

Delphi-Quellcode:
const
  CAPTUREBLT = $40000000;
Zitat:
Windows 98/Me, Windows 2000/XP: Includes any windows that are layered on top of your window in the resulting image. By default, the image only contains your window. Note that this generally cannot be used for printing device contexts.

BitBlt(bmp.Canvas.Handle, 0, 0, Width, Height, Dc, x, y, SRCCOPY or CAPTUREBLT);
Thomas
  Mit Zitat antworten Zitat