user32/tests: SetWindowPos() propagates update region from WS_CLIPCHILDREN child to its children (try 3).

Alexandre Julliard julliard at
Fri Mar 8 12:34:43 CST 2013

Sergey Guralnik <serhio at> writes:

> This patch demonstrates the most interest case from previous versions.
> When SetWindowPos() moves child window, that has some invalid
> area, it also invalidates children of this window according to its
> update region, even if moved window has WS_CLIPCHILDREN style.
> Wine doesn't perform this invalidation.
> One pretty large application depends on this feature, and now,
> runned under Wine, it has broken output.
> Hope this variant is more clear than all previous.

It's better, but testing the message sequence doesn't seem very useful,
particularly since you don't differentiate parent and child messages.
Also you should test the region before the move to show that it's the
move that's changing it.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list