Commit 8fb73054 authored by Anatoly Lyutin's avatar Anatoly Lyutin Committed by Alexandre Julliard

user32: Return at the end of processing (cmd == SW_HIDE).

parent 283012cc
......@@ -4112,7 +4112,7 @@ static void test_messages(void)
ok(GetActiveWindow() == hwnd, "window should be active\n");
ok(GetFocus() == hwnd, "window should have input focus\n");
ShowWindow(hwnd, SW_HIDE);
ok_sequence(WmHideOverlappedSeq, "ShowWindow(SW_HIDE):overlapped", TRUE);
ok_sequence(WmHideOverlappedSeq, "ShowWindow(SW_HIDE):overlapped", FALSE);
ShowWindow(hwnd, SW_SHOW);
ok_sequence(WmShowOverlappedSeq, "ShowWindow(SW_SHOW):overlapped", TRUE);
......
......@@ -1073,6 +1073,7 @@ static BOOL show_window( HWND hwnd, INT cmd )
if (parent == GetDesktopWindow()) parent = 0;
SetFocus(parent);
}
return wasVisible;
}
if (IsIconic(hwnd)) WINPOS_ShowIconTitle( hwnd, TRUE );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment