user32: Add a test for reparenting a WS_POPUP window to a WS_CHILD parent.

Alexandre Julliard julliard at
Fri Feb 4 06:14:52 CST 2011

Dmitry Timoshkov <dmitry at> writes:

> +    SetLastError(0xdeadbeef);
> +todo_wine
> +    ok(SetForegroundWindow(popup), "SetForegroundWindow() error %d\n", GetLastError());

It would be interesting to test what the foreground window is actually
set to.

> +    SetLastError(0xdeadbeef);
> +    ok(DestroyWindow(parent), "DestroyWindow() error %d\n", GetLastError());

Please don't add invalid uses of GetLastError again, this was cleaned up

Alexandre Julliard
julliard at

More information about the wine-devel mailing list