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 Darstellungsfehler mit Windowsstyle und Edit-Control (https://www.delphipraxis.net/42621-darstellungsfehler-mit-windowsstyle-und-edit-control.html)

OrallY 21. Mär 2005 18:47


Darstellungsfehler mit Windowsstyle und Edit-Control
 
Hi,

wenn ich in einer VCL-Anwendung (mit dem XP-Manifest) mit folgendem Code ein Edit-Feld erzeugt, kommt es zu Darstellungsfehlern (siehe Grafik):

Delphi-Quellcode:
hEdit1 := CreateWindowEx(WS_EX_CLIENTEDGE, 'EDIT', 'hallo', WS_VISIBLE or WS_CHILD,
                         10, 100, 400, 21, Handle, 1, hInstance, nil);
So siehts dann aus:
http://mokasin.de/stuff/edit.png

Wie kommt's und was kann ich dagegen tun?

greez 'n thx


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:05 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