Author: janderwald
Date: Thu Nov 1 00:25:07 2007
New Revision: 30025
URL:
http://svn.reactos.org/svn/reactos?rev=30025&view=rev
Log:
- implement CWM_GETISHELLBROWSER support in IShellView
- fixes desktop refreshing after a new item has been placed with ShellNew command
Modified:
trunk/reactos/dll/win32/shell32/shlview.c
trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c
Modified: trunk/reactos/dll/win32/shell32/shlview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlview.c (original)
+++ trunk/reactos/dll/win32/shell32/shlview.c Thu Nov 1 00:25:07 2007
@@ -1658,8 +1658,9 @@
(pThis->FolderSettings.fFlags & FWF_TRANSPARENT))
return 1;
break;
- }
-
+ case CWM_GETISHELLBROWSER:
+ return pThis->pShellBrowser;
+ }
return DefWindowProcW(hWnd, uMessage, wParam, lParam);
}
/**********************************************************
Modified: trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shv_bg_c…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c (original)
+++ trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c Thu Nov 1 00:25:07 2007
@@ -879,6 +879,10 @@
if (LOWORD(lpcmi->lpVerb) >= This->iIdShellNewFirst &&
LOWORD(lpcmi->lpVerb) <= This->iIdShellNewLast)
{
DoShellNewCmd(This, lpcmi);
+ if (lpSV)
+ {
+ IShellView_Refresh(lpSV);
+ }
break;
}