简体   繁体   English

是否可以将Windows资源管理器上下文菜单替换为菜单以外的其他菜单?

[英]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消息:

Shell Extension with Keyboard Hook 带键盘钩的外壳扩展

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Windows Explorer 上下文菜单中订购 - Order in the Windows Explorer context menu 将程序添加到Windows资源管理器上下文菜单 - Adding program to the windows explorer context menu 使用Windows资源管理器的“打印”上下文菜单项 - Using Windows Explorer 'Print' context menu entry 在Windows资源管理器上下文菜单中添加分隔符(不在子菜单中) - Add a separator in the Windows Explorer context menu (not in a submenu) 涵盖Windows资源管理器上下文菜单应用程序! - Getting Coverage for Windows Explorer Context Menu Application! Eclipse 插件显示 Windows 资源管理器上下文菜单 - Eclipse Plugin to show Windows Explorer context menu Windows资源管理器上下文菜单上的InfoTip - InfoTip on Windows explorer context menu item 是否可以使Windows资源管理器上下文菜单与文件扩展名和查看内容相关联? - Is it possible to make a windows explorer context menu associated to both a file name extension and the result of peeking at the contents? 将自定义“新文件夹”添加到Windows资源管理器上下文菜单 - Adding a custom “new folder” to windows explorer context menu 如何为Java应用程序向Windows资源管理器添加上下文菜单? - How can I add a context menu to the Windows Explorer for a Java application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM