O
occult
Unregistered / Unconfirmed
GUEST, unregistred user!
问题如下:<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br> BMP : TBitMap;<br> CV : TCanvas;<br> R : TRect;<br>begin<br> BMP := TBitMap.Create;<br> BMP.LoadFromFile('E:/My Work/DrawDeaktop/s03.BMP');<br> R:= Rect(0,0,100,40);<br> CV:= TCanvas.Create;<br> CV.Handle := GetDC(0);<br> CV.Draw(100,100,BMP);<br> CV.Free;<br> BMP.Free;<br>end;<br><br>当我如上在桌面上Draw了一幅位图之后,我又该如何把这幅图擦去呢?试过<br>了Invalidaterect, updateWindow都不行,该如何作呢?请指教!!