On 20.12.2007, at 14:04, Alvin wrote:

> The part of the message you are referring to was my poor attempt at
> providing background information. In the future I will ask my  
> question then
> give any background information below the question. My bad.

... and I seem to not have read all the way to the end wither ;-) ...

> I think I will eventually need to do as Kai-Uwe Behrmann suggests  
> and read
> the file from the device and store it in a temporary location. Then  
> the DND
> destination/receiver will hopefully copy the file from there. When  
> the DND
> receiver is done, the FLTK app will delete the temporary file.

Yes, that is currently the only way I see to do this.

> My ideal scenario would be for the FLTK app to detect when the DND  
> drop has
> occurred. Then the FLTK app would "known" where the dropped occurred  
> (e.g.
> into which directory) and use that as the location to store the  
> file. Alas,
> I don't think this is possible though.


It is possible, but not with the current FLTK setup. On most (all?)  
dnd API's of our supported OS's, you can request that the DND data  
gets created at drop time instead of having to be created first before  
dnd is initiated.

Matthias

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to