IContextMenu::QueryContextMenu returns extra elements
When we call IContextMenu::QueryContextMenu
we pass it arguments such as idCmdFirst
and idCmdLast
. If we pass 1
as idCmdFirst and 5
as idCmdLast, then as far as I know the menu identifiers should be in the range from 1
to 5
.
Calling IContextMenu directly from shell extension dll
I’m trying to call IContextMenu directly from a shell extension DLL but having some trouble.
Remove the “Send to” item from the menu that returns IContextMenu::QueryContextMenu
I need to Remove Send to item from menu returned by IContextMenu::QueryContextMenu. The problem is that “Send to” menu has no verb and I can’t compare it with anything to find it in hMenu list and remove it.
Remove the “Send to” item from the menu that returns IContextMenu::QueryContextMenu
I need to Remove Send to item from menu returned by IContextMenu::QueryContextMenu. The problem is that “Send to” menu has no verb and I can’t compare it with anything to find it in hMenu list and remove it.