Author: gadamopoulos
Date: Fri Aug 18 17:32:20 2017
New Revision: 75618
URL: http://svn.reactos.org/svn/reactos?rev=75618&view=rev
Log:
[SHELL32] -CDefViewBckgrndMenu: Fix pasting in the background of a folder.
Modified:
trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp
Modified: trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefView…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp [iso-8859-1] Fri Aug 18 17:32:20 2017
@@ -219,6 +219,10 @@
/* 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:
Author: gadamopoulos
Date: Fri Aug 18 17:18:17 2017
New Revision: 75616
URL: http://svn.reactos.org/svn/reactos?rev=75616&view=rev
Log:
[WIN32K] -NtUserEmptyClipboard: Change its behaviour to wait for WM_DESTROYCLIPBOARD to return so it behaves like windows and our ole32 doesn't trip on its assumptions that everything works fine. A test will be written soon to prove that this is correct. CORE-12302
Modified:
trunk/reactos/win32ss/user/ntuser/clipboard.c
Modified: trunk/reactos/win32ss/user/ntuser/clipboard.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/clipbo…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/clipboard.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/clipboard.c [iso-8859-1] Fri Aug 18 17:18:17 2017
@@ -680,7 +680,7 @@
{
TRACE("Clipboard: WM_DESTROYCLIPBOARD to %p\n", pWinStaObj->spwndClipOwner->head.h);
// For 32-bit applications this message is sent as a notification
- co_IntSendMessageNoWait(pWinStaObj->spwndClipOwner->head.h, WM_DESTROYCLIPBOARD, 0, 0);
+ co_IntSendMessage(pWinStaObj->spwndClipOwner->head.h, WM_DESTROYCLIPBOARD, 0, 0);
}
pWinStaObj->spwndClipOwner = pWinStaObj->spwndClipOpen;