[PATCH 1/2] user32: Send WM_NCPAINT and WM_ERASEBKGND when window is shown and add tests

Alexandre Julliard julliard at winehq.org
Wed Feb 1 14:16:56 CST 2017


Fabian Maurer <dark.shadow4 at web.de> writes:

> Fixes Bug 2624 and 6682 and a few others
>
> v2: Make patch independent from the WM_NCPAINT issue
>
> Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
> ---
>  dlls/user32/tests/msg.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++
>  dlls/user32/winpos.c    |   7 ++++
>  2 files changed, 111 insertions(+)

This would also need tests for child windows, and for various flag
combinations. In particular I expect you'd have to handle
SWP_DEFERERASE. It would also be more convincing with tests calling
SetWindowPos directly instead of through ShowWindow. And whatever
changes are necessary should most likely be merged into the existing
erase_now() call.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list