- implement CWM_GETISHELLBROWSER support in IShellView

- fixes desktop refreshing after a new item has been placed with ShellNew command

svn path=/trunk/; revision=30025
This commit is contained in:
Johannes Anderwald 2007-10-31 21:25:07 +00:00
parent 8c669a8e79
commit 0dc465de18
2 changed files with 6 additions and 1 deletions

View file

@ -1658,8 +1658,9 @@ static LRESULT CALLBACK ShellView_WndProc(HWND hWnd, UINT uMessage, WPARAM wPara
(pThis->FolderSettings.fFlags & FWF_TRANSPARENT))
return 1;
break;
case CWM_GETISHELLBROWSER:
return pThis->pShellBrowser;
}
return DefWindowProcW(hWnd, uMessage, wParam, lParam);
}
/**********************************************************

View file

@ -879,6 +879,10 @@ static HRESULT WINAPI ISVBgCm_fnInvokeCommand(
if (LOWORD(lpcmi->lpVerb) >= This->iIdShellNewFirst && LOWORD(lpcmi->lpVerb) <= This->iIdShellNewLast)
{
DoShellNewCmd(This, lpcmi);
if (lpSV)
{
IShellView_Refresh(lpSV);
}
break;
}