Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi DC löschen (https://www.delphipraxis.net/1911-dc-loeschen.html)

theomega 30. Dez 2002 11:49


DC löschen
 
Wie kann ich das "Bild" auf einem DC löschen?
habe schon das hier probiert, aber das geht nicht

Delphi-Quellcode:
procedure erasedc(dc:HDC;w,h:integer);
var rcBmp:TRECT;
begin;

SetRect(rcBmp, -1, -1, w+1, h+1);
InvalidateRect(dc,@rcbmp,true);
end;
es passiert rein garnux!


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz