Hi,

    I have tried the data flavors 'application/x-moz-file' to drag a file
from my XUL application to desktop and windows explorer. In windows XP, I
get 'source file not found error', in windows2000, the system just does not
allow me to do so.

    In the documentation at
http://www.mozilla.org/xpfe/xptoolkit/DataFlavors.html, it seems to expect I
pass a nsIFile (or nsILocalFile) object in the 2nd parameter in
addDataFlavor(). In fact what should I pass it?

    Thanks!
    Joe Chan





Reply via email to