mirror of
https://github.com/reactos/reactos.git
synced 2024-06-24 06:51:47 +00:00
[SHELL32] CDefaultContextMenu: Provide a fallback property sheet
CORE-17691
This commit is contained in:
parent
7a42954cb7
commit
6a68717c58
|
@ -93,7 +93,7 @@ static HRESULT CALLBACK FontFolderMenuCallback(IShellFolder *psf, HWND hwnd, IDa
|
|||
}
|
||||
else if (wParam == DFM_CMD_PROPERTIES)
|
||||
{
|
||||
ERR("Default properties handling!\n");
|
||||
TRACE("Default properties handling!\n");
|
||||
return S_FALSE;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -836,9 +836,15 @@ HRESULT
|
|||
CDefaultContextMenu::DoProperties(
|
||||
LPCMINVOKECOMMANDINFO lpcmi)
|
||||
{
|
||||
_DoCallback(DFM_INVOKECOMMAND, DFM_CMD_PROPERTIES, NULL);
|
||||
HRESULT hr = _DoCallback(DFM_INVOKECOMMAND, DFM_CMD_PROPERTIES, NULL);
|
||||
|
||||
return S_OK;
|
||||
// We are asked to run the default property sheet
|
||||
if (hr == S_FALSE)
|
||||
{
|
||||
return Shell_DefaultContextMenuCallBack(m_psf, m_pDataObj);
|
||||
}
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
HRESULT
|
||||
|
|
Loading…
Reference in a new issue