mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- desktop background menu has no view option, this option is only available when browsing the shell
svn path=/trunk/; revision=30163
This commit is contained in:
parent
6a390b34dc
commit
5aad5425f5
1 changed files with 6 additions and 0 deletions
|
@ -673,6 +673,12 @@ static HRESULT WINAPI ISVBgCm_fnQueryContextMenu(
|
|||
{
|
||||
InsertShellNewItems(mii.hSubMenu, 0x6000, 0x6000, This);
|
||||
}
|
||||
if (This->bDesktop)
|
||||
{
|
||||
/* desktop menu has no view option */
|
||||
DeleteMenu(hMenu, 0, MF_BYPOSITION);
|
||||
DeleteMenu(hMenu, 0, MF_BYPOSITION);
|
||||
}
|
||||
|
||||
TRACE("(%p)->returning 0x%x\n",This,hr);
|
||||
return hr;
|
||||
|
|
Loading…
Reference in a new issue