How can I retrieve multiple files which have been posted to the clipboard by an external application, e.g. Windows-Explorer.

There is nothing like "numDropItems" and "getData(..., itemIndex)" of the drag'n drop api (nsIDragSession) in the clipboard api.

The nsIClipboard-interface seems not to support collections of items.
I did not find out howto query the number of items and enumerate the items. If there is a multiselection of files in clipboard (e.g. due to the copy action of Windows-Explorer) I can only get the first file.


I use the interfaces with C++ and the flavor referred to by "kFileMime" (application/x-moz-file).
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to