mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[shell32]
- When the caller uses SVGIO_BACKGROUND we should always return a context menu of the background. To do it we pass no items to CDefFolderMenu even when we have selected items. Should improve the situation for ctrl+c, ctrl+v in the shell svn path=/trunk/; revision=60845
This commit is contained in:
parent
c919f3e29f
commit
996c436ef2
|
@ -2089,7 +2089,7 @@ HRESULT WINAPI CDefView::GetItemObject(UINT uItem, REFIID riid, LPVOID *ppvOut)
|
|||
if (IsEqualIID(riid, IID_IContextMenu))
|
||||
{
|
||||
//*ppvOut = ISvBgCm_Constructor(pSFParent, FALSE);
|
||||
CDefFolderMenu_Create2(NULL, NULL, cidl, (LPCITEMIDLIST*)apidl, pSFParent, NULL, 0, NULL, (IContextMenu**)ppvOut);
|
||||
CDefFolderMenu_Create2(NULL, NULL, 0, NULL, pSFParent, NULL, 0, NULL, (IContextMenu**)ppvOut);
|
||||
if (!ppvOut)
|
||||
hr = E_OUTOFMEMORY;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue