mirror of
https://github.com/reactos/reactos.git
synced 2024-08-16 16:39:08 +00:00
[WIN32SS][SHELL32] Fix the location and repaint of the version info shown on the desktop. Patch by Katayama Hirofumi MZ.
CORE-13567 #resolve #comment Thanks! svn path=/trunk/; revision=75390
This commit is contained in:
parent
6e74f9217a
commit
808c1d2aac
|
@ -383,6 +383,8 @@ LRESULT CDesktopBrowser::OnSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &b
|
|||
::ShowWindow(m_hWnd, SW_RESTORE);
|
||||
}
|
||||
|
||||
::InvalidateRect(m_hWndShellView, NULL, TRUE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1346,9 +1346,14 @@ IntPaintDesktop(HDC hDC)
|
|||
|
||||
if (!UserSystemParametersInfo(SPI_GETWORKAREA, 0, &Rect, 0))
|
||||
{
|
||||
Rect.left = Rect.top = 0;
|
||||
Rect.right = UserGetSystemMetrics(SM_CXSCREEN);
|
||||
Rect.bottom = UserGetSystemMetrics(SM_CYSCREEN);
|
||||
}
|
||||
else
|
||||
{
|
||||
RECTL_vOffsetRect(&Rect, -Rect.left, -Rect.top);
|
||||
}
|
||||
|
||||
/*
|
||||
* Set up the fonts (otherwise use default ones)
|
||||
|
|
Loading…
Reference in a new issue