fix textfield style (win32)

Tue, 28 Oct 2025 14:25:46 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 28 Oct 2025 14:25:46 +0100
changeset 881
e0bbf466915f
parent 880
9c99ff36513f
child 882
75de79b155e3

fix textfield style (win32)

ui/win32/text.c file | annotate | diff | comparison | revisions
--- a/ui/win32/text.c	Tue Oct 28 13:53:59 2025 +0100
+++ b/ui/win32/text.c	Tue Oct 28 14:25:46 2025 +0100
@@ -44,10 +44,11 @@
 
     int width = args->width >= 0 ? args->width : 100;
 
-    HWND hwnd = CreateWindow(
+    HWND hwnd = CreateWindowEx(
+            WS_EX_CLIENTEDGE,
             "EDIT",
             "",
-            WS_VISIBLE | WS_CHILD | WS_BORDER | ES_LEFT | ES_AUTOHSCROLL,
+            WS_VISIBLE | WS_CHILD | ES_LEFT | ES_AUTOHSCROLL,
             0, 0, width, 25,
             parent,
             (HMENU)0,

mercurial