mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 21:34:17 +00:00
[EXPLORER]
Handle WM_DISPLAYCHANGE message. Works on WinXP, but not with the branch svn path=/branches/reactos-yarotows/; revision=46725
This commit is contained in:
parent
5099deb554
commit
cc94bd25eb
|
@ -435,6 +435,12 @@ LRESULT DesktopWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue