Author: gadamopoulos
Date: Sat Aug 31 14:53:01 2013
New Revision: 59918
URL:
http://svn.reactos.org/svn/reactos?rev=59918&view=rev
Log:
[shell32]
- Halfplement CDesktopBrowser::BrowseObject. Now when the user tries to open a folder from
the desktop we will try to create a new explorer window.
- ps: this affects only explorer_new and the rest of the shell is still not working well
enough to actually show the new window
Modified:
trunk/reactos/dll/win32/shell32/desktop.cpp
trunk/reactos/dll/win32/shell32/precomp.h
Modified: trunk/reactos/dll/win32/shell32/desktop.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/desktop.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/desktop.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/desktop.cpp [iso-8859-1] Sat Aug 31 14:53:01 2013
@@ -261,7 +261,12 @@
HRESULT STDMETHODCALLTYPE CDesktopBrowser::BrowseObject(LPCITEMIDLIST pidl, UINT wFlags)
{
- return E_NOTIMPL;
+ /*
+ * We should use IShellWindows interface here in order to attempt to
+ * find an open shell window that shows the requested pidl and activate it
+ */
+
+ return SHOpenNewFrame((LPITEMIDLIST)pidl, NULL, 0, 0);
}
HRESULT STDMETHODCALLTYPE CDesktopBrowser::GetViewStateStream(DWORD grfMode, IStream
**ppStrm)
Modified: trunk/reactos/dll/win32/shell32/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] Sat Aug 31 14:53:01 2013
@@ -25,6 +25,7 @@
#include <shlwapi.h>
#include <shlobj.h>
#include <shlobj_undoc.h>
+#include <shlwapi_undoc.h>
#include <appmgmt.h>
#include <ntquery.h>
#include <recyclebin.h>
@@ -71,6 +72,7 @@
#include "filedefext.h"
#include "drvdefext.h"
#include "CMenuBand.h"
+#include "CMenuDeskBar.h"
#include <wine/debug.h>