Use ES_AUTOHSCROLL for edit box.

This commit is contained in:
Robert Shearman 2005-04-12 10:16:23 +00:00 committed by Alexandre Julliard
parent 292b61f550
commit ea84f49393
1 changed files with 1 additions and 1 deletions

View File

@ -9546,7 +9546,7 @@ static HWND CreateEditLabelT(LISTVIEW_INFO *infoPtr, LPCWSTR text, DWORD style,
TRACE("(text=%s, ..., isW=%d)\n", debugtext_t(text, isW), isW);
style |= WS_CHILDWINDOW|WS_CLIPSIBLINGS|ES_LEFT|WS_BORDER;
style |= WS_CHILDWINDOW|WS_CLIPSIBLINGS|ES_LEFT|ES_AUTOHSCROLL|WS_BORDER;
hdc = GetDC(infoPtr->hwndSelf);
/* Select the font to get appropriate metric dimensions */