Controls with ES_RIGHT or ES_CENTER shouldn't have ES_AUTOHSCROLL.
This commit is contained in:
parent
983a8b5888
commit
c978697882
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue