19 Sep
2005
19 Sep
'05
8:40 a.m.
"Robert Shearman" <rob(a)codeweavers.com> wrote:
@@ -149,7 +144,7 @@ static void HH_RegisterChildWndClass(HHI wcex.hInstance = pHHInfo->hInstance; wcex.hIcon = LoadIconW(NULL, (LPCWSTR)IDI_APPLICATION); wcex.hCursor = LoadCursorW(NULL, (LPCWSTR)IDC_ARROW); - wcex.hbrBackground = (HBRUSH)(COLOR_3DFACE); + wcex.hbrBackground = (HBRUSH)(COLOR_MENU);
This doesn't seem right. You're not registering a menu-like class.
Moreover, when using COLOR_xxx constants in the place of a brush one needs to increase the value by 1 in order to make it work. dlls/msi/dialog.c, dlls/shlwapi/ordinal.c, programs/notepad/main.c have the same problem. -- Dmitry.