mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 08:02:58 +00:00
[SHELL32] Improve StartButton context menu (#5008)
- Add uFlags argument to CDefaultContextMenu::AddShellExtensionsToMenu- CCopyToMenu, CMoveToMenu, and CSendToMenu check the uFlags against (CMF_NOVERBS | CMF_VERBSONLY). CORE-16544
This commit is contained in:
parent
5f1fff696b
commit
8e036fe74d
4 changed files with 13 additions and 4 deletions
|
@ -295,6 +295,9 @@ CSendToMenu::QueryContextMenu(HMENU hMenu,
|
|||
TRACE("%p %p %u %u %u %u\n", this,
|
||||
hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags);
|
||||
|
||||
if (uFlags & (CMF_NOVERBS | CMF_VERBSONLY))
|
||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, 0);
|
||||
|
||||
HMENU hSubMenu = CreateMenu();
|
||||
if (!hSubMenu)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue