右键单击上下文菜单项是否有最大限制 [英] Is there a maximum right click context menu items limit

查看:38
本文介绍了右键单击上下文菜单项是否有最大限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 SubCommands 创建一个自定义的右键单击子菜单(在Windows注册表中),但是在添加了更多选项之后,一些最后的选项消失了。是否有允许的最大物品数量?如果是这样,是否有解决方法?我在Windows 7上。转到注册表时,所有子命令都保存在字符串值中。

I'm making a custom right click submenu (in Windows registry) using SubCommands, but after adding more options to it, some last options disappeared. Is there a maximum amount of items that are allowed? If so, is there a way to workaround? I'm on Windows 7. When I go to the registry, all the SubCommands are saved in the string value.

推荐答案

是!每个上下文菜单项(包括子菜单和其中的任何项)都有16个条目的限制。如果我没有记错的话,此限制自Windows诞生以来就存在,至少可以追溯到Windows 95。不加限制地保留该功能可能会对系统性能产生负面影响。但是,此限制似乎不适用于COM Shell扩展,因此可能有解决方案。我认为最好是对上下文菜单中的内容进行整理和选择。

Yes! there's a limit of 16 entries for each context menu entry, including submenus and any entry inside of them.. If I'm not mistaken this limit exists since the dawn of Windows, at least as far back as Windows 95. At the time, leaving that feature without any limit could negatively impact system performance. This limit however, doesn't seem to apply to COM shell extensions, so there might be a solution around. I think it's best to organize and be more selective on what's included in the context menu.

这篇关于右键单击上下文菜单项是否有最大限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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