Controls with ES_RIGHT or ES_CENTER shouldn't have ES_AUTOHSCROLL.

This commit is contained in:
Lauri Tulmin 2005-02-24 10:04:40 +00:00 committed by Alexandre Julliard
parent 983a8b5888
commit c978697882
1 changed files with 1 additions and 0 deletions

View File

@ -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 */