user32: Return at the end of processing (cmd == SW_HIDE).
This commit is contained in:
parent
283012cc95
commit
8fb730543d
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue