{"id":2133,"date":"2014-01-08T07:00:00","date_gmt":"2014-01-08T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2014\/01\/08\/the-case-of-the-missing-context-menu-verbs\/"},"modified":"2014-01-08T07:00:00","modified_gmt":"2014-01-08T07:00:00","slug":"the-case-of-the-missing-context-menu-verbs","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20140108-00\/?p=2133","title":{"rendered":"The case of the missing context menu verbs"},"content":{"rendered":"<p>A customer reported that when they right-clicked a batch file, a bunch of commands were missing. For example, <i>Open<\/i> was gone!\n Okay, there really isn&#8217;t much of a story here, because some direct debugging quickly identified the culprit.\n The customer had installed a third party shell extension which returned a huge value from its <code>IContext&shy;Menu::Query&shy;Context&shy;Menu<\/code> method.\n Explorer told the shell extension, &#8220;Hey, like I&#8217;ve got room for 30,000 menu items. How many do you need?&#8221;\n The shell extension replied, &#8220;I&#8217;ll take 29,995 of them.&#8221;\n And so the shell extension sucked up nearly all the menu IDs, and by the time the <i>Open<\/i> command handler came along, the context menu host said, &#8220;Sorry, I&#8217;m all out.&#8221;\n If you followed along when we <a href=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2004\/10\/07\/239197.aspx\"> created a composite context menu<\/a>, you could sort of see this problem coming.<\/p>\n<p> Uninstalling the buggy shell extension fixed the problem. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A customer reported that when they right-clicked a batch file, a bunch of commands were missing. For example, Open was gone! Okay, there really isn&#8217;t much of a story here, because some direct debugging quickly identified the culprit. The customer had installed a third party shell extension which returned a huge value from its IContext&shy;Menu::Query&shy;Context&shy;Menu [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-2133","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>A customer reported that when they right-clicked a batch file, a bunch of commands were missing. For example, Open was gone! Okay, there really isn&#8217;t much of a story here, because some direct debugging quickly identified the culprit. The customer had installed a third party shell extension which returned a huge value from its IContext&shy;Menu::Query&shy;Context&shy;Menu [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/2133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=2133"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/2133\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=2133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=2133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=2133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}