[PATCH] comctl32/tests: Fix propsheet and listview tests which depend on being in foreground.

Nikolay Sivov bunglehead at gmail.com
Wed May 7 01:20:27 CDT 2014


> @@ -587,6 +587,7 @@ static HWND create_parent_window(BOOL Unicode)
>                                  WS_MAXIMIZEBOX | WS_VISIBLE,
>                                  0, 0, 100, 100,
>                                  GetDesktopWindow(), NULL, GetModuleHandleA(NULL), NULL);
> +    force_set_foreground_window(hwnd);
>       SetWindowPos( hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE|SWP_NOMOVE );
>       return hwnd;
>   }
I don't know about propsheet part, but for a listview you're setting 
parent to foreground, does it mean that lately created child listview 
will be foreground as well? Cause failing test is about mouse movements 
over listview, not its parent.



More information about the wine-devel mailing list