Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 23 Jun 2008 12:21:26 -0700,    group: microsoft.public.platformsdk.shell        back       


Context menu extension doesn't work with Vista's "Recently Used" i   
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.
date: Mon, 23 Jun 2008 12:21:26 -0700   author:   ondrej421

Re: Context menu extension doesn't work with Vista's "Recently Used" i   
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
date: Tue, 24 Jun 2008 11:35:55 +0100   author:   Jim Barry

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us