Author: dquintana
Date: Wed Oct 29 12:32:46 2014
New Revision: 65099
URL:
http://svn.reactos.org/svn/reactos?rev=65099&view=rev
Log:
[BROWSEUI]
* Fix a 'pasta.
* Open something less stupid when clicking on "Is this copy legal?" in the Help
menu.
Modified:
branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp
branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp
Modified: branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/bro…
==============================================================================
--- branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp [iso-8859-1]
(original)
+++ branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp [iso-8859-1] Wed Oct
29 12:32:46 2014
@@ -453,7 +453,7 @@
if (FAILED_UNEXPECTEDLY(hr))
return hr;
- TRACE("COMMON start menu obtained.\n");
+ TRACE("COMMON favorites obtained.\n");
*ppidl = pidlCommonFavorites;
hr = BindToDesktop(pidlCommonFavorites, ppsfFavorites);
return hr;
Modified: branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/bro…
==============================================================================
--- branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp [iso-8859-1]
(original)
+++ branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] Wed Oct 29
12:32:46 2014
@@ -3252,16 +3252,9 @@
return 0;
}
-HRESULT WINAPI SHOpenNewFrame(LPITEMIDLIST pidl, IUnknown *paramC, long param10, DWORD
dwFlags);
-
LRESULT CShellBrowser::OnIsThisLegal(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL
&bHandled)
{
- LPITEMIDLIST desktopPIDL;
- HRESULT hResult = SHGetFolderLocation(NULL, CSIDL_DESKTOP, NULL, 0,
&desktopPIDL);
- if (SUCCEEDED(hResult))
- {
- hResult = SHOpenNewFrame(desktopPIDL, NULL, -1, 1);
- }
+ ShellExecute(m_hWnd, NULL,
L"https://reactos.org/user-faq"-faq", NULL, NULL,
SW_SHOWNORMAL);
return 0;
}