C# And windows explorer context menu?

青春壹個敷衍的年華 提交于 2020-01-03 05:14:21

问题


I have an idea for a little C# program, where I want to be able to right click on a file in windows explorer and somehow 'tag' that file. Subsequent right clicks would show it's tagged state.

Bottom line is that I need to be able to right click on a file, see a custom menu item and perform a custom action as well as visualize some info.

Never having done this, I'm not even sure where to start... :)

Any good example out there? Things I should read up on? Links?

Thanks!


回答1:


The keyword you're looking for is Shell Extensions. For more information, see Windows shell extension with C# or Creating a shell extension with C#.



来源:https://stackoverflow.com/questions/7701306/c-sharp-and-windows-explorer-context-menu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!