Author: jgardou
Date: Mon Apr 5 00:03:53 2010
New Revision: 46725
URL:
http://svn.reactos.org/svn/reactos?rev=46725&view=rev
Log:
[EXPLORER]
Handle WM_DISPLAYCHANGE message.
Works on WinXP, but not with the branch
Modified:
branches/reactos-yarotows/base/shell/explorer/desktop/desktop.cpp
Modified: branches/reactos-yarotows/base/shell/explorer/desktop/desktop.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/base/shell/exp…
==============================================================================
--- branches/reactos-yarotows/base/shell/explorer/desktop/desktop.cpp [iso-8859-1]
(original)
+++ branches/reactos-yarotows/base/shell/explorer/desktop/desktop.cpp [iso-8859-1] Mon Apr
5 00:03:53 2010
@@ -435,6 +435,12 @@
explorer_show_frame(SW_SHOWNORMAL);
break;
+ case WM_DISPLAYCHANGE:
+ MoveWindow(_hwnd, 0, 0, LOWORD(lparam), HIWORD(lparam), TRUE);
+ MoveWindow(g_Globals._hwndShellView, 0, 0, LOWORD(lparam), HIWORD(lparam),
TRUE);
+ MoveWindow(_desktopBar, 0, HIWORD(lparam) - DESKTOPBARBAR_HEIGHT, LOWORD(lparam),
DESKTOPBARBAR_HEIGHT, TRUE);
+ break;
+
case WM_GETISHELLBROWSER:
return (LRESULT)static_cast<IShellBrowser*>(this);