diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index a887c6efdac..f9f07ce70b4 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -1878,7 +1878,7 @@ static HRESULT WINAPI IShellView_fnCreateViewWindow( *phWnd = CreateWindowExA(0, SV_CLASS_NAME, NULL, - WS_CHILD | WS_VISIBLE | WS_TABSTOP, + WS_CHILD | WS_TABSTOP, prcView->left, prcView->top, prcView->right - prcView->left, @@ -1892,6 +1892,9 @@ static HRESULT WINAPI IShellView_fnCreateViewWindow( if(!*phWnd) return E_FAIL; + SetWindowPos(*phWnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW); + UpdateWindow(*phWnd); + return S_OK; }