Dropping files in the composer window

Xavier Nodet <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
Hi all,

I just added in CVS a feature that allows the user to drop files (e.g.
from an explorer window) onto the composer window.  The files are then
attached as they would have been using the 'Attach' button.  Several
files can be dropped at once.  

Files have to be dropped onto the 'header' part of the window (the 'text
composing' part already accepts drag-and-drop, but for some text to be
inserted, instead of files to be attached).  Unfortunately, the very
simple code I used does not allow to directly drag messages from a
folder and drop them onto the composer window.

This has only been tested on Windows.

I hope you'll find this useful.

-- 
Xavier Nodet
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.
signature.asc (application/pgp-signature, 205 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32) - GPGrelay v0.959

iD8DBQBDegBkFK6OUIeqvjQRAvJRAJ0dX3ignnG7RKk84ztIPZtYNaT15ACfVHpV
rISAr/ok9BZ2jX21PzcexIk=
=HVUr
-----END PGP SIGNATURE-----
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.