mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[SHIMGV]
Fix display window calculation. Patch by Ricardo Hanke. CORE-7656 svn path=/trunk/; revision=65620
This commit is contained in:
@@ -646,8 +646,8 @@ ImageView_WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
RECT rc;
|
||||
SendMessage(hToolBar, TB_AUTOSIZE, 0, 0);
|
||||
SendMessage(hToolBar, TB_GETITEMRECT, 1, (LPARAM)&rc);
|
||||
MoveWindow(hDispWnd, 1, 1, LOWORD(lParam)-1, HIWORD(lParam)-rc.bottom, TRUE);
|
||||
GetWindowRect(hToolBar, &rc);
|
||||
MoveWindow(hDispWnd, 1, 1, LOWORD(lParam) - 1, HIWORD(lParam) - (rc.bottom - rc.top) - 1, TRUE);
|
||||
return 0L;
|
||||
}
|
||||
case WM_DESTROY:
|
||||
|
||||
Reference in New Issue
Block a user