[英]Is it possible to replace the windows explorer context menu with something other than a menu?
I would like to write an application/extension that would replace the default explorer right-click context menu with something other than a menu, preferably a custom window. 我想编写一个应用程序/扩展,用菜单以外的其他菜单(最好是自定义窗口)替换默认的资源管理器右键单击上下文菜单。 Is this possible, and if so, how? 这可能吗?如果可以,怎么办?
I haven't tried it myself, but implementing a shell extension that subclasses the explorer window seems like the way to go. 我还没有亲自尝试过,但是实现一个将浏览器窗口子类化的shell扩展似乎是一种方法。 The following CodeProject article talks about a shell extension with a keyboard hook. 下面的CodeProject文章讨论了带有键盘挂钩的shell扩展。 It should be possible to adapt this to intercept the mouse and WM_CONTEXT messages: 应该有可能对此进行调整以拦截鼠标和WM_CONTEXT消息:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.