mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 10:13:37 +00:00
Add WS_HSCROLL style to the notepad's edit control.
This commit is contained in:
parent
fe2dcf7439
commit
341523d293
|
@ -128,7 +128,7 @@ static LRESULT WINAPI NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
RECT rc;
|
RECT rc;
|
||||||
GetClientRect(hWnd, &rc);
|
GetClientRect(hWnd, &rc);
|
||||||
Globals.hEdit = CreateWindow(editW, NULL,
|
Globals.hEdit = CreateWindow(editW, NULL,
|
||||||
WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL |
|
WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL |
|
||||||
ES_AUTOVSCROLL | ES_MULTILINE,
|
ES_AUTOVSCROLL | ES_MULTILINE,
|
||||||
0, 0, rc.right, rc.bottom, hWnd,
|
0, 0, rc.right, rc.bottom, hWnd,
|
||||||
NULL, Globals.hInstance, NULL);
|
NULL, Globals.hInstance, NULL);
|
||||||
|
|
Loading…
Reference in a new issue