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 CreateParams (https://www.delphipraxis.net/1751-createparams.html)

nebukadnezzar 21. Dez 2002 09:04


CreateParams
 
Ich hab von TWinControl abgeleitet.
Dann wollte ich die Brush wechseln mit der ich den Background malen wollte ungefähr so:
Code:
     params.WindowClass.hbrBackground:=CreatePatternBrush(bild.handle);
nur funktioniert das irgendwie nicht.

ich hab auch schon versucht die WM_EraseBkgnd message abzufangen, aber dann werden die child controls nicht mehr richtig gezeichnet.

also was gibts noch für (schnelle) Lösungen?


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:50 Uhr.

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