mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
[WIN32SS][NTUSER] ShowWindow.SW_MINIMIZE should show window (#3700)
- user32!ShowWindow.SW_MINIMIZE should show the window. - Fix the return value of ShowWindow function on invalid parameter. CORE-15669
This commit is contained in:
parent
5ce9e2ec8e
commit
59d4c11203
1 changed files with 2 additions and 3 deletions
|
@ -2560,9 +2560,8 @@ co_WinPosShowWindow(PWND Wnd, INT Cmd)
|
|||
Swp |= SWP_NOACTIVATE | SWP_NOZORDER;
|
||||
/* Fall through. */
|
||||
case SW_SHOWMINIMIZED:
|
||||
case SW_MINIMIZE: /* CORE-15669: SW_MINIMIZE also shows */
|
||||
Swp |= SWP_SHOWWINDOW;
|
||||
/* Fall through. */
|
||||
case SW_MINIMIZE:
|
||||
{
|
||||
Swp |= SWP_NOACTIVATE;
|
||||
if (!(style & WS_MINIMIZE))
|
||||
|
@ -2657,7 +2656,7 @@ co_WinPosShowWindow(PWND Wnd, INT Cmd)
|
|||
|
||||
default:
|
||||
//ERR("co_WinPosShowWindow Exit Good 4\n");
|
||||
return WasVisible;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
ShowFlag = (Cmd != SW_HIDE);
|
||||
|
|
Loading…
Reference in a new issue