mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
Now the menu item actions on start button should work. CORE-16544
This commit is contained in:
@@ -296,7 +296,7 @@ CSendToMenu::QueryContextMenu(HMENU hMenu,
|
||||
hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags);
|
||||
|
||||
if (uFlags & (CMF_NOVERBS | CMF_VERBSONLY))
|
||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, 0);
|
||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdFirst);
|
||||
|
||||
HMENU hSubMenu = CreateMenu();
|
||||
if (!hSubMenu)
|
||||
@@ -327,7 +327,7 @@ CSendToMenu::QueryContextMenu(HMENU hMenu,
|
||||
m_hSubMenu = hSubMenu;
|
||||
DestroyMenu(hOldSubMenu);
|
||||
|
||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cItems);
|
||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdFirst + cItems);
|
||||
}
|
||||
|
||||
STDMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user