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: Fri, 13 Jun 2008 07:38:14 -0700 (PDT),    group: microsoft.public.platformsdk.shell        back       


SHMultiFileProperties and CF_HDROP   
I've got some issues with SHMultiFileProperties at the moment
(developing on XP).

Seems to almost work folders/subfolders on the desktop (always
displays zero size though) but for other items it's just showing a
properties form with no details filled in.

SHMultiFileProperties takes an IDataObject as it's parameter. To
generate the IDataObject I've used a shell function called
CIDLData_CreateFromIDArray (ordinal 83). Passing it fully qualified ID
lists and NULL for the folder.

The IDataObject created only supports CFSTR_SHELLIDLIST, do I need to
add CF_HDROP support as well to get it SHMultiFileProperties working
correctly?
date: Fri, 13 Jun 2008 07:38:14 -0700 (PDT)   author:   nicos

Re: SHMultiFileProperties and CF_HDROP   
On 13 Jun, 15:38, nicos  wrote:
>
> The IDataObject created only supports CFSTR_SHELLIDLIST, do I need to
> add CF_HDROP support as well to get it SHMultiFileProperties working
> correctly?

yes
date: Mon, 16 Jun 2008 01:54:48 -0700 (PDT)   author:   nikos

Re: SHMultiFileProperties and CF_HDROP   
Thanks nikos,
I've discovered that the strange behaviour I was seeing with
SHMultiFileProperties was down to CIDLData_CreateFromIDArray making a
mess of creating a CIDL structure. After rolling my own CIDL structure
and sticking it in a IDataObject, SHMultiFileProperties seems to be
working well (including accross multiple locations).  I'm going to add
CF_HDROP support as well to be on the safe side and also to deal with
the multi-folder context menu stuff.
date: Mon, 16 Jun 2008 04:40:18 -0700 (PDT)   author:   nicos

Google
 
Web ureader.com


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