Author: gadamopoulos
Date: Fri Feb 18 14:28:58 2011
New Revision: 50798
URL:
http://svn.reactos.org/svn/reactos?rev=50798&view=rev
Log:
[explorer]
- Fix some visual problems in the toolbar
Modified:
trunk/reactos/base/shell/explorer/shell/mainframe.cpp
trunk/reactos/base/shell/explorer/shell/shellbrowser.cpp
trunk/reactos/base/shell/explorer/utility/window.cpp
Modified: trunk/reactos/base/shell/explorer/shell/mainframe.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/shell/…
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/mainframe.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/shell/mainframe.cpp [iso-8859-1] Fri Feb 18 14:28:58
2011
@@ -873,7 +873,7 @@
HMENU hMenuFrame = LoadMenu(g_Globals._hInstance, MAKEINTRESOURCE(IDM_MDIFRAME));
return Window::Create(WINDOW_CREATOR(MDIMainFrame), 0,
- (LPCTSTR)(int)g_Globals._hframeClass, ResString(IDS_TITLE), WS_OVERLAPPEDWINDOW,
+ (LPCTSTR)(int)g_Globals._hframeClass, ResString(IDS_TITLE), WS_OVERLAPPEDWINDOW |
WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
0/*hwndDesktop*/, hMenuFrame);
}
Modified: trunk/reactos/base/shell/explorer/shell/shellbrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/shell/…
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/shellbrowser.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/shell/shellbrowser.cpp [iso-8859-1] Fri Feb 18
14:28:58 2011
@@ -654,8 +654,12 @@
MDIShellBrowserChild* MDIShellBrowserChild::create(const ShellChildWndInfo& info)
{
- ChildWindow* child = ChildWindow::create(info, info._pos.rcNormalPosition,
- WINDOW_CREATOR_INFO(MDIShellBrowserChild,ShellChildWndInfo), CLASSNAME_CHILDWND, NULL,
info._pos.showCmd==SW_SHOWMAXIMIZED? WS_MAXIMIZE: 0);
+ ChildWindow* child = ChildWindow::create(info,
+ info._pos.rcNormalPosition,
+
WINDOW_CREATOR_INFO(MDIShellBrowserChild,ShellChildWndInfo),
+ CLASSNAME_CHILDWND,
+ NULL,
+ WS_CLIPCHILDREN | (info._pos.showCmd==SW_SHOWMAXIMIZED? WS_MAXIMIZE: 0));
return static_cast<MDIShellBrowserChild*>(child);
}
Modified: trunk/reactos/base/shell/explorer/utility/window.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/utilit…
==============================================================================
--- trunk/reactos/base/shell/explorer/utility/window.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/utility/window.cpp [iso-8859-1] Fri Feb 18 14:28:58
2011
@@ -39,7 +39,7 @@
style = style_;
hInstance = g_Globals._hInstance;
hCursor = LoadCursor(0, IDC_ARROW);
-
+ this->hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
lpszClassName = classname;
lpfnWndProc = wndproc;