mirror of
https://github.com/reactos/reactos.git
synced 2024-06-16 01:21:44 +00:00
[EXPLORER] Use ShowWindowAsync in CTrayWindow::RestoreAll()
Here, ShowWindowAsync is better than ShowWindow. CORE-17894
This commit is contained in:
parent
10c7145cc6
commit
e055b0623c
|
@ -2905,7 +2905,7 @@ HandleTrayContextMenu:
|
|||
HWND hwnd = g_MinimizedAll[i];
|
||||
if (::IsWindowVisible(hwnd) && ::IsIconic(hwnd))
|
||||
{
|
||||
::ShowWindow(hwnd, SW_RESTORE);
|
||||
::ShowWindowAsync(hwnd, SW_RESTORE);
|
||||
}
|
||||
}
|
||||
g_MinimizedAll.RemoveAll();
|
||||
|
|
Loading…
Reference in a new issue