On Jan 28, 2008 10:35 PM, Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> wrote:
> bump.
>
> I think this is a relevant discussion which needs an answer from Tom
> to progress.
>

Well, we can extend the recent drop files functionality to every
TWinControl and change its handling to OnDragDrop, as someone has
suggested. We can use some TDragObject descendant, which will hold the
list of filenames.
There are some things which must be taken into account on various platforms:
Windows
- there must be some property to enable accepting files, like does
AllowDropFiles now
- for functional OnDragOver you have to use OLE (IDropTarget)
Carbon
- there some function to track dropped files on Application level,
which is suitable also for other platforms

We must also take into account that there can be implemented general
drag and drop between App and OS in future.
Personally, I have no taste to improve it - especially the gtk part.

Tom

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to