mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Fixed some flags in calls to CreateWindowEx.
- Fixed color of the splitter (should be COLOR_BTNFACE and not light gray brush). svn path=/trunk/; revision=6609
This commit is contained in:
parent
3561af3a43
commit
ae07465bee
3 changed files with 3 additions and 3 deletions
|
@ -85,7 +85,7 @@ static void OnPaint(HWND hWnd)
|
||||||
|
|
||||||
GetClientRect(hWnd, &rt);
|
GetClientRect(hWnd, &rt);
|
||||||
hdc = BeginPaint(hWnd, &ps);
|
hdc = BeginPaint(hWnd, &ps);
|
||||||
FillRect(ps.hdc, &rt, GetStockObject(LTGRAY_BRUSH));
|
FillRect(ps.hdc, &rt, GetSysColorBrush(COLOR_BTNFACE));
|
||||||
EndPaint(hWnd, &ps);
|
EndPaint(hWnd, &ps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -513,7 +513,7 @@ LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||||
_tcsncpy(pChildWnd->szPath, _T("My Computer"), MAX_PATH);
|
_tcsncpy(pChildWnd->szPath, _T("My Computer"), MAX_PATH);
|
||||||
hChildWnd = CreateWindowEx(0, szChildClass, _T("regedit child window"),
|
hChildWnd = CreateWindowEx(0, szChildClass, _T("regedit child window"),
|
||||||
/* WS_CHILD|WS_CLIPCHILDREN|WS_VISIBLE|WS_BORDER,*/
|
/* 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,
|
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||||
hWnd, (HMENU)0, hInst, pChildWnd);
|
hWnd, (HMENU)0, hInst, pChildWnd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -223,7 +223,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||||
} */
|
} */
|
||||||
|
|
||||||
hFrameWnd = CreateWindowEx(0, (LPCTSTR)(int)hFrameWndClass, szTitle,
|
hFrameWnd = CreateWindowEx(0, (LPCTSTR)(int)hFrameWndClass, szTitle,
|
||||||
WS_OVERLAPPEDWINDOW | WS_EX_CLIENTEDGE,
|
WS_OVERLAPPEDWINDOW,
|
||||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||||
NULL, hMenuFrame, hInstance, NULL/*lpParam*/);
|
NULL, hMenuFrame, hInstance, NULL/*lpParam*/);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue