Use ES_AUTOHSCROLL for edit box.
This commit is contained in:
parent
292b61f550
commit
ea84f49393
|
@ -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);
|
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);
|
hdc = GetDC(infoPtr->hwndSelf);
|
||||||
|
|
||||||
/* Select the font to get appropriate metric dimensions */
|
/* Select the font to get appropriate metric dimensions */
|
||||||
|
|
Loading…
Reference in New Issue