user32: Fix maxPosition of thick child windows.
This commit is contained in:
parent
dc1a7113b5
commit
ce119daf3e
|
@ -5321,10 +5321,9 @@ static LRESULT WINAPI test_thick_child_size_winproc(HWND hwnd, UINT msg, WPARAM
|
||||||
expectedPosY = rect.top;
|
expectedPosY = rect.top;
|
||||||
actualPosX = minmax->ptMaxPosition.x;
|
actualPosX = minmax->ptMaxPosition.x;
|
||||||
actualPosY = minmax->ptMaxPosition.y;
|
actualPosY = minmax->ptMaxPosition.y;
|
||||||
todo_wine
|
ok(actualPosX == expectedPosX && actualPosY == expectedPosY,
|
||||||
ok(actualPosX == expectedPosX && actualPosY == expectedPosY,
|
"expected maxPosition (%d/%d), actual maxPosition (%d/%d) for %s\n",
|
||||||
"expected maxPosition (%d/%d), actual maxPosition (%d/%d) for %s\n",
|
expectedPosX, expectedPosY, actualPosX, actualPosY, test_thick_child_name);
|
||||||
expectedPosX, expectedPosY, actualPosX, actualPosY, test_thick_child_name);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -682,8 +682,8 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
|
||||||
MinMax.ptMinTrackSize.y = GetSystemMetrics(SM_CYMINTRACK);
|
MinMax.ptMinTrackSize.y = GetSystemMetrics(SM_CYMINTRACK);
|
||||||
MinMax.ptMaxTrackSize.x = GetSystemMetrics(SM_CXMAXTRACK);
|
MinMax.ptMaxTrackSize.x = GetSystemMetrics(SM_CXMAXTRACK);
|
||||||
MinMax.ptMaxTrackSize.y = GetSystemMetrics(SM_CYMAXTRACK);
|
MinMax.ptMaxTrackSize.y = GetSystemMetrics(SM_CYMAXTRACK);
|
||||||
|
xinc = -rc.left;
|
||||||
xinc = yinc = 0;
|
yinc = -rc.top;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue