Hello shell experts, We've developed a custom shell extension that adds a submenu to the right-click context menu on files and folders. The extension works great in Windows Explorer but has trouble with items in the left panel of Vista's start menu - the "recently used" items. We've seen two problems with those items so far: - Clicking on Run as administrator is a no-op because Windows calls into our shell extension instead of handling the click itself. - Clicking on the item itself is sometimes a no-op for the same reason. The entire right click menu works just fine everywhere else in the system. As far as we can tell, all other items in the "recently used" items' context menus are also okay. What can we do to figure out where the problem is? Thanks in advance.
ondrej421 wrote: > - Clicking on Run as administrator is a no-op because Windows calls > into our shell extension instead of handling the click itself. > - Clicking on the item itself is sometimes a no-op for the same > reason. Make sure you return a failure code from IContextMenu::InvokeCommand if called for a verb you don't handle. Otherwise the shell will think you handled the command and won't continue routing it. -- Jim Barry, Microsoft MVP