Reputation: 435
For a given file path, I want to get the explorer context menus of it and then display those items in my application. I have googled for a long time, But didn't find a solution yet.
Upvotes: 2
Views: 131
Reputation: 12993
The context menu is built from many locations in registry, reconstructing them in code is possible, but not a trivial task.
ShellMenuView is freeware and supports commandline arguments that export the menu commands. You can give it a try.
Upvotes: 1