From d4baf370859fbc61cf2fadc3ddc724c79e0bf033 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 5 Dec 2003 00:09:54 +0000 Subject: [PATCH] Fixed some flags in calls to CreateWindowEx. Fixed color of the splitter. --- programs/regedit/childwnd.c | 2 +- programs/regedit/framewnd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/regedit/childwnd.c b/programs/regedit/childwnd.c index c3835f8a5bc..854fd6d0a25 100644 --- a/programs/regedit/childwnd.c +++ b/programs/regedit/childwnd.c @@ -85,7 +85,7 @@ static void OnPaint(HWND hWnd) GetClientRect(hWnd, &rt); hdc = BeginPaint(hWnd, &ps); - FillRect(ps.hdc, &rt, GetStockObject(LTGRAY_BRUSH)); + FillRect(ps.hdc, &rt, GetSysColorBrush(COLOR_BTNFACE)); EndPaint(hWnd, &ps); } diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index c4121b19b9e..f6f3ae6b0d1 100644 --- a/programs/regedit/framewnd.c +++ b/programs/regedit/framewnd.c @@ -532,7 +532,7 @@ LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa _tcsncpy(pChildWnd->szPath, _T("My Computer"), MAX_PATH); hChildWnd = CreateWindowEx(0, szChildClass, _T("regedit child window"), /* WS_CHILD|WS_CLIPCHILDREN|WS_VISIBLE|WS_BORDER,*/ - WS_CHILD|WS_VISIBLE | WS_EX_CLIENTEDGE, + WS_CHILD|WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hWnd, (HMENU)0, hInst, pChildWnd); }