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