On Aug 11, 5:07*pm, "Jeff Gaines" <jgaines_new...@yahoo.co.ukwrote:
On 11/08/2008 in message
<dd43a071-ba60-4cff-b25e-cccd54de9...@r66g2000hsg.googlegroups.comTom P..
wrote:
I am writing a file manager and I currently support simple, filename-
based, drag-drop. I'd like to create the appropriate Shell IDList
Array so that when a user drags a file into Paint or Photoshop or word
it will open correctly.
The research I've done points to "Shell IDList Array" but most of it
is determining how to accept and parse the CIDA, I'm looking for how
to build it and load the DataObject appropriatly.
I put something up on Code Project which may help:http://www.codeproject.com/KB/files/JFileManager31.aspx
There is a class in it called cDropFiles which takes a file path (or array
of file paths) and converts it/them into a DataObject which you can put on
the ClipBoard.
--
Jeff Gaines Damerham Hampshire UK
If it's not broken, mess around with it until it is
Thanks, that was a big help. Now the problem I have is the code you
wrote creates DataObjects as memoryStreams but when I drop a file from
FileManager it gives me an array of strings.
I'll work on it and see what I can come up with. Thanks for the nudge.
Tom P.