Add WS_HSCROLL style to the notepad's edit control
Dmitry Timoshkov
dmitry at baikal.ru
Thu Jul 8 08:40:32 CDT 2004
Hello,
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Add WS_HSCROLL style to the notepad's edit control.
--- cvs/hq/wine/programs/notepad/main.c 2003-08-19 19:03:08.000000000 +0900
+++ wine/programs/notepad/main.c 2004-07-08 21:55:37.000000000 +0900
@@ -128,7 +128,7 @@ static LRESULT WINAPI NOTEPAD_WndProc(HW
RECT rc;
GetClientRect(hWnd, &rc);
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,
0, 0, rc.right, rc.bottom, hWnd,
NULL, Globals.hInstance, NULL);
More information about the wine-patches
mailing list