Create custom menu item in Right click context menu

  • Thread starter Thread starter O365 Developer
  • Start date Start date
O

O365 Developer

Guest
Hello All,

We have a C# win form application which creates certain folders on the file system. We have to show a custom menu item when user right clicks inside these folders. I know that we can achieve it using creating a COM component and implementing IShellExtInit and IContextMenu event handlers in C++. I have couple of queries:

1. Is there a way to do it in C# itself so that we need not write code in C++ and C# code can be reused?

2. If not, is there a way to open C# win form from the context menu custom item so that existing c# code can be reused rather than developing win form in c++

Looking for guidance on best practices from architecture/design perspective.

Thanks.

Continue reading...
 
Back
Top