mirror of
https://github.com/reactos/reactos.git
synced 2024-09-24 19:48:55 +00:00
[SHELL32] Only hide a window when there is a window to hide
This commit is contained in:
parent
d0ba8fd4a3
commit
96e3c7bcc5
|
@ -645,6 +645,7 @@ HRESULT CMenuDeskBar::_CloseBar()
|
|||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
return hr;
|
||||
|
||||
if (m_hWnd)
|
||||
SetWindowPos(NULL, 0, 0, 0, 0, SWP_HIDEWINDOW | SWP_NOACTIVATE | SWP_NOMOVE);
|
||||
|
||||
return UIActivateIO(FALSE, NULL);
|
||||
|
|
Loading…
Reference in a new issue