如何为所有文件(*.*)的浏览器添加菜单项(在右键菜单中)? [英] How to add a menu item (in right click menu) to explorer for all files (*.*)?

查看:176
本文介绍了如何为所有文件(*.*)的浏览器添加菜单项(在右键菜单中)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装Winrar后,用户右键单击一个文件,将出现一个新的mune项:添加到存档..."

When Winrar installed, and user right click on a file, a new mune item exists: "Add to Archive..."

如何为我的应用程序做到这一点?

How can do like this for my application?

推荐答案

这可以通过添加快捷方式(上下文)菜单处理程序来完成.

This can be done by adding a shortcut (context) menu handler.

  • A static handler by setting it up in registry
  • Or, a fully featured dynamic handler, which is a COM object implementing necessary interfaces to advertise verbs and handle their invocations

另请参阅:

  • Choosing a Static or Dynamic Shortcut Menu Method
  • The Complete Idiot's Guide to Writing Shell Extensions - Part I on CodeProject

这篇关于如何为所有文件(*.*)的浏览器添加菜单项(在右键菜单中)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆