How to add a menu item (in right click menu) to explorer for all files (*.*)?

后端 未结 2 1939
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 04:37

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?

相关标签:
2条回答
  • 2020-12-22 04:58

    You register under *.

    0 讨论(0)
  • 2020-12-22 05:13

    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

    See also:

    • Choosing a Static or Dynamic Shortcut Menu Method
    • The Complete Idiot's Guide to Writing Shell Extensions - Part I on CodeProject
    0 讨论(0)
提交回复
热议问题