我的Google-fu带我到
this:
原文链接:https://www.f2er.com/windows/364150.htmlSo the sorting is based on the following elements in decision order:
- Key priority (eg,txtfile,*,AFSO)
- Registry Enumeration order of shellex\contextmenuhandlers with a special case for static verbs always being first
- IContextMenu Implementation order
So if there is any contention for position,there is no consistent way for an extension to guarantee their relative position within the menu.
显然,您无法对阶段1执行任何操作.阶段3仅适用于处理程序中实现的谓词.离开阶段2.你唯一能做的就是在ContextMenuHandlers下命名你的条目,这样它就会先被枚举,但没有什么能阻止别人做同样的事情.