[SHELL32] Fix empty 'Send to' menu

CORE-18517
This commit is contained in:
Mark Jansen
2022-10-20 19:12:33 +02:00
parent 15d491fb29
commit 21e68b0dba

View File

@@ -244,6 +244,7 @@ UINT CSendToMenu::InsertSendToItems(HMENU hMenu, UINT idCmdFirst, UINT Pos)
{
CStringW strNone(MAKEINTRESOURCEW(IDS_NONE));
AppendMenuW(hMenu, MF_GRAYED | MF_DISABLED | MF_STRING, idCmd, strNone);
++idCmd;
}
return idCmd - idCmdFirst;