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?
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
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.