Update FileView.cpp

Fix typos in comment
This commit is contained in:
Sebastian G 2023-04-14 19:21:02 +02:00 committed by GitHub
parent b11ef81a2c
commit b65e2722b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ int openShellContextMenu(const QStringList& Files, void* parentWindow, const CSa
//CComPtr<IShellItemArray> array;
//SHCreateShellItemArrayFromIDLists(list.size(), (LPCITEMIDLIST*)&list.front(), &array);
//array->BindToHandler(NULL, BHID_SFUIObject, IID_PPV_ARGS(&pContextMenu)); // note: this fails when the files have different parent folders
//if (!pContextMenu) // note: with the below approche proeprties and delete does not work, so a custom handler would be needed
//if (!pContextMenu) // note: with the below approch properties and delete does not work, so a custom handler would be needed
// pDesktop->GetUIObjectOf((HWND)parentWindow, list.size(), (LPCITEMIDLIST*)&list.front(), IID_IContextMenu, NULL, (void**)&pContextMenu);
{
DEFCONTEXTMENU details = { 0 };