[.net] Getting right-click context menu items for files through Explorer/shell..?
I've been developing an IDE, and part of that is a file browser. Here's a screenshot of the control I've written at the moment:
The items in the context menu are currently derived by hammering the registry and doing some crude conversions of their names (with no regard for internationalisation, of course). I don't know how else I'd do it - any bright ideas?
You pretty much have to get the apps that can be used from the registry. I don't know of any other way. What exactly don't you like about your implementation?
I'd have "Edit with External Application...", which would bring up a file dialog where the user would select an executable. You could even have your application remember which applications the user entered and then list them as a submenu to the Edit with External Application item.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement