mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 10:34:07 +00:00
Added a 3D border for Notepad's edit control.
This commit is contained in:
parent
a6584f5eed
commit
9a65546951
|
@ -127,7 +127,7 @@ static LRESULT WINAPI NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
static const WCHAR editW[] = { 'e','d','i','t',0 };
|
static const WCHAR editW[] = { 'e','d','i','t',0 };
|
||||||
RECT rc;
|
RECT rc;
|
||||||
GetClientRect(hWnd, &rc);
|
GetClientRect(hWnd, &rc);
|
||||||
Globals.hEdit = CreateWindow(editW, NULL,
|
Globals.hEdit = CreateWindowEx(WS_EX_CLIENTEDGE, editW, NULL,
|
||||||
WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL |
|
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,
|
||||||
|
|
Loading…
Reference in a new issue