<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<blockquote
cite="mid:CAK1Bw22gYb3UH-evOh1k1KmqQ8rCa+eBYQFoLqOpnEsZiTv8Xw@mail.gmail.com"
type="cite">
<div dir="ltr">Please try this:<br>
<div>var<br>
bmp: TBitmap;<br>
begin<br>
bmp:=Form1.GetFormImage;<br>
try<br>
<b>bmp.Canvas.Changed;</b><br>
bmp.SaveToFile(ExtractFilePath(Application.ExeName)+'form.bmp');<br>
finally<br>
FreeAndNil(bmp);<br>
end;<br>
end; <br>
</div>
</div>
</blockquote>
<br>
But Delphi does not require the bmp.Canvas.Changed. Shouldn't it be
added to the GetFormImage internally to make this simple code
Delphi-compatible?<br>
<br>
<br>
</body>
</html>