[SHELL32] -CDefViewBckgrndMenu: Fix pasting in the background of a folder.
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 18 Aug 2017 17:32:20 +0000 (17:32 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 18 Aug 2017 17:32:20 +0000 (17:32 +0000)
svn path=/trunk/; revision=75618

reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp

index 0b8b135..281366a 100644 (file)
@@ -219,6 +219,10 @@ CDefViewBckgrndMenu::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
     /* The commands that are handled by the def view are forwarded to it */
     switch (idCmd)
     {
     /* The commands that are handled by the def view are forwarded to it */
     switch (idCmd)
     {
+    case FCIDM_SHVIEW_INSERT:
+    case FCIDM_SHVIEW_INSERTLINK:
+        lpcmi->lpVerb = MAKEINTRESOURCEA(idCmd);
+        return m_folderCM->InvokeCommand(lpcmi);
     case FCIDM_SHVIEW_BIGICON:
     case FCIDM_SHVIEW_SMALLICON:
     case FCIDM_SHVIEW_LISTVIEW:
     case FCIDM_SHVIEW_BIGICON:
     case FCIDM_SHVIEW_SMALLICON:
     case FCIDM_SHVIEW_LISTVIEW: