I'm about to tear my hair out for lack of a consistent, foolproof way to get at the context menu items that Explorer shows when I right click on an item. I don't want to show a menu, I just want to parse the items in the background and execute them programatically.
I've tried various combinations of IShellFolder, IContextMenu, and other COM interfaces and I cannot find anything that works consistently.
I realize this is a vague question, but if anyone has any experience at all in the arena of programatically executing Windows Explorer context menu items, any help would be appreciated.