mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:25:58 +00:00
- 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:
parent
8c669a8e79
commit
0dc465de18
2 changed files with 6 additions and 1 deletions
|
@ -1658,8 +1658,9 @@ static LRESULT CALLBACK ShellView_WndProc(HWND hWnd, UINT uMessage, WPARAM wPara
|
||||||
(pThis->FolderSettings.fFlags & FWF_TRANSPARENT))
|
(pThis->FolderSettings.fFlags & FWF_TRANSPARENT))
|
||||||
return 1;
|
return 1;
|
||||||
break;
|
break;
|
||||||
|
case CWM_GETISHELLBROWSER:
|
||||||
|
return pThis->pShellBrowser;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefWindowProcW(hWnd, uMessage, wParam, lParam);
|
return DefWindowProcW(hWnd, uMessage, wParam, lParam);
|
||||||
}
|
}
|
||||||
/**********************************************************
|
/**********************************************************
|
||||||
|
|
|
@ -879,6 +879,10 @@ static HRESULT WINAPI ISVBgCm_fnInvokeCommand(
|
||||||
if (LOWORD(lpcmi->lpVerb) >= This->iIdShellNewFirst && LOWORD(lpcmi->lpVerb) <= This->iIdShellNewLast)
|
if (LOWORD(lpcmi->lpVerb) >= This->iIdShellNewFirst && LOWORD(lpcmi->lpVerb) <= This->iIdShellNewLast)
|
||||||
{
|
{
|
||||||
DoShellNewCmd(This, lpcmi);
|
DoShellNewCmd(This, lpcmi);
|
||||||
|
if (lpSV)
|
||||||
|
{
|
||||||
|
IShellView_Refresh(lpSV);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue