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

Alexandre Julliard julliard at
Tue Feb 8 16:46:42 CST 2011

Dmitry Timoshkov <dmitry at> writes:

> This test is supposed to show the root of the problem with the test
> application attached to the bug 13951. It appears that the check performed
> by server/window.c,is_top_level_window() is not correct (which leads to
> a SetWindowPos() failure to set foreground window), and probably should be
> replaced by simple (win->style & (WS_CHILD | WS_POPUP)) != WS_CHILD.

Maybe, but the test doesn't really demonstrate that.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list