https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9192d39f6e177683ad40d85bdcb70c443e40a13a
commit 9192d39f6e177683ad40d85bdcb70c443e40a13a Author: Manuel Bachmann <[email protected]> AuthorDate: Thu Nov 2 19:55:03 2017 +0100 [SHELL32] Fix multiple selection of desktop icons This fixes the following issue : when selecting multiple icons on the desktop, and then right-clicking; the Properties sheet would immediately be displayed, conflicting with the context menu. --- dll/win32/shell32/folders/CDesktopFolder.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dll/win32/shell32/folders/CDesktopFolder.cpp b/dll/win32/shell32/folders/CDesktopFolder.cpp index 98e5c4fb6c..6d9b66eb72 100644 --- a/dll/win32/shell32/folders/CDesktopFolder.cpp +++ b/dll/win32/shell32/folders/CDesktopFolder.cpp @@ -858,6 +858,9 @@ HRESULT WINAPI CDesktopFolder::CallBack(IShellFolder *psf, HWND hwndOwner, IData return S_OK; } + if (uMsg != DFM_INVOKECOMMAND || wParam != DFM_CMD_PROPERTIES) + return S_OK; + PIDLIST_ABSOLUTE pidlFolder; PUITEMID_CHILD *apidl; UINT cidl;
