mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user