Re: URL drag and drop support

David Sitsky <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <CAEQ8c02i_Y7+UNqtc3mrZ4YGs+VFuV2Bq2Mc48Y6_6Ees36P7g@mail.gmail.com>
> > I've noticed under Windows I can drag and drop local files into Emacs
which is
> > great, but when dragging the "URL" from a browser (Firefox/IE/Chrome),
Emacs
> > does not seem to register itself as a valid drop target for this drag
type.
> >
> > I am using the standard Windows built 24.4.1 (i686-pc-mingw32).
> >
> > Is this a known issue?
>
> Yes.  Emacs on Windows supports dragging and dropping only of file
> names, because (AFAIK) that is the only kind of entity for which a
> d-n-d interface exists for C programs.  Dragging and dropping other
> kinds of entities, including URLs, requires C++.
>
> If someone knows how to do that from a C program, please speak up.

Definitely not my area of expertise.. but is there anything useful in here?
 http://sourceforge.net/projects/win32cdnd/

http://sourceforge.net/projects/win32cdnd/files/DragAndDrop_1_0.zip/download
is a link to the C code for some dnd code.

Cheers,
David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.