user32: Make all the recently added ShowWindow tests pass in Wine

Vitaliy Margolen wine-devel at kievinfo.com
Wed May 17 01:04:23 CDT 2006


Tuesday, May 16, 2006, 11:39:42 PM, Dmitry Timoshkov wrote:
> Hello,

> this patch makes all the recently added ShowWindow tests pass in Wine,
> and is aimed to fix the bug #4960.


>      GetWindowRect(hwnd, &rc);
> +todo_wine {
>      ok( rc.right-rc.left == GetSystemMetrics(SM_CXSCREEN) &&
>          rc.bottom-rc.top == GetSystemMetrics(SM_CYSCREEN),
>          "Invalid maximized size after ShowWindow (%ld,%ld)-(%ld,%ld)\n",
>          rc.left, rc.top, rc.right, rc.bottom);
> +}
>      DestroyWindow(hwnd);
>      flush_sequence();

Please don't do this. I fixed this problem and added tests exactly for
the reason to keep it from braking again.

This change will brake most of Delphi apps that have their main windows
as a maximized popup.


Vitaliy Margolen






More information about the wine-devel mailing list