mirror of
https://github.com/reactos/reactos.git
synced 2025-03-30 17:10:22 +00:00
[WIN32SS] Make window foreground in SwitchToThisWindow (#995)
CORE-15165
This commit is contained in:
parent
f39f25ca17
commit
41b5f29514
1 changed files with 6 additions and 1 deletions
|
@ -521,8 +521,13 @@ NtUserCallTwoParam(
|
||||||
{
|
{
|
||||||
UserPostMessage(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0);
|
UserPostMessage(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0);
|
||||||
}
|
}
|
||||||
|
/* bring window to top and activate */
|
||||||
|
co_WinPosSetWindowPos(Window, HWND_TOP, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
UserSetActiveWindow(Window);
|
||||||
}
|
}
|
||||||
UserSetActiveWindow(Window);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue