Greg Ercolano wrote: > Sorry Alvin this has turned into such > a large thread. No good deed goes unpunished ;)
Quite the opposite really. I think its quite exciting that the article stirred such productive activity! I think the work that you have done is really good. With so much work that you and Ian have done, handling the DND payload can be an article unto itself. There's just so much to consider when accessing Fl::event_text(). I wonder though, when dealing with URLs as the payload, would it be appropriate for the FLTK DND system to massage the URL into some standard FLTK form. For example, fl_dnd_x.cxx::Fl::dnd() does some checking to see if the URI is a "common URI scheme". If FLTK would parse the URLs and covert it to some defined form, then FLTK apps could access Fl::event_text() with some confidence if the the buffer contained a URL (e.g. starts with a protocol like file://, http:// etc, each URL ends with \r\n, etc.) From the discussion, it sounds like a capability that could be made generic (cross-platform). I'm not sure what other cross-platform toolkits provide/do for DND though. That's something I would have to research. -- Alvin _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

