mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
Now the menu item actions on start button should work. CORE-16544
This commit is contained in:
@@ -271,7 +271,7 @@ CMoveToMenu::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);
|
||||
|
||||
m_idCmdFirst = m_idCmdLast = idCmdFirst;
|
||||
|
||||
@@ -314,7 +314,7 @@ CMoveToMenu::QueryContextMenu(HMENU hMenu,
|
||||
++Count;
|
||||
}
|
||||
|
||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, Count);
|
||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdFirst + Count);
|
||||
}
|
||||
|
||||
HRESULT WINAPI
|
||||
|
||||
Reference in New Issue
Block a user