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, 14 Apr 2008 09:36:46 -0700 (PDT),    group: microsoft.public.platformsdk.shell        back       


Namespace SE: Why isn't rename working?   
I've spent far too long on what I suspect is a tiny omission.  I have
a NSE extension that works in most of the basic respects: copy/paste,
folder navigation, etc.  My attempts to get rename to work, however,
have so far failed.

I have followed very closely the "How To Support Renaming.." article
at MS.com, not to mention numerous other articles.  Here's what I've
got:

- F2 does not seem to trigger any events in my NSE.
- When I single-click a file, the shell requests the SFGAO_CANRENAME
attribute via GetAttributesOf().
- I am keeping SFGAO_CANRENAME set when it comes in through
GetAttributesOf().
- If I select the "Rename" item on my context menu, I get a GCS_VERBA
request.  I pass back the string "rename".
- The shell's rename behavior (the little edit field over the
filename, etc.) never occurs and SetNameOf() is never called.

I'm not sure what else I'm missing.  Thank you very much in advance
for any help, and please let me know if I can provide any more info!
date: Mon, 14 Apr 2008 09:36:46 -0700 (PDT)   author:   Jay Miller

Re: Namespace SE: Why isn't rename working?   
The VVV NSE sample on http://www.codeplex.com/msf has a working
rename.

Victor
date: Mon, 14 Apr 2008 11:33:14 -0700 (PDT)   author:   unknown

Google
 
Web ureader.com


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