From c978697882b4fd403494e4bf31cb786a93780a9f Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Thu, 24 Feb 2005 10:04:40 +0000 Subject: [PATCH] Controls with ES_RIGHT or ES_CENTER shouldn't have ES_AUTOHSCROLL. --- dlls/user/edit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user/edit.c b/dlls/user/edit.c index bb88f825013..39770a7f04c 100644 --- a/dlls/user/edit.c +++ b/dlls/user/edit.c @@ -4519,6 +4519,7 @@ static LRESULT EDIT_WM_NCCreate(HWND hwnd, LPCREATESTRUCTW lpcs, BOOL unicode) if (es->style & ES_RIGHT) es->style &= ~ES_CENTER; es->style &= ~WS_HSCROLL; + es->style &= ~ES_AUTOHSCROLL; } /* FIXME: for now, all multi line controls are AUTOVSCROLL */