[try 2][PATCH 2/2] user32: Fixed minimal size of child windows.

Alexandre Julliard julliard at winehq.org
Fri Sep 12 04:10:27 CDT 2008


Florian Köberle <FloriansKarten at web.de> writes:

> diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
> index 21e1554..79140a0 100644
> --- a/dlls/user32/winpos.c
> +++ b/dlls/user32/winpos.c
> @@ -708,14 +708,16 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
>  
>          MinMax.ptMaxSize.x = rc.right - rc.left;
>          MinMax.ptMaxSize.y = rc.bottom - rc.top;
> +        MinMax.ptMinTrackSize.x = 6;
> +        MinMax.ptMinTrackSize.y = 6;

You should figure out why the current computation doesn't yield the
right values. It certainly shouldn't be hardcoded to 6.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list