Is there a consistent, reliable way to access the context menu items that Explorer shows when I right-click on an item? I do not want to show the menu, I just want to analyze the elements in the background and execute them programmatically.
I tried various combinations of IShellFolder, IContextMenu and other COM interfaces, and I can not find anything that works in concert.
How to programmatically execute Windows Explorer context menu items?
source
share