New compiler: Lazarus

oh, I found its very easy to grab a image of the window screen form in Lazarus,using
var
SnapShotBitmap: TBitmap;
begin
SnapShotBitmap:=TBitmap.Create;
SnapShotBitmap.LoadFromDevice(Canvas.Handle);
SnapShotBitmap.SaveToFile(‘c:\snapshot.bmp’);
SnapShotBitmap.Free;

but, same problem as with Kylix , if another window is over the top, that is captures as well