Seems taht nobody have used something bevore... We dont need LM_DROPFILES for Linux i do need it in windows, iam underway to implement it in windows. Also I have found documentations for qt (kde) so thers also no big problem. Does the gtk+ drag/drop support work also for not gtk applications ? At example with kfm ? Or is it needed to use the lib of the wm ?
What schould we do to implement drag & drop correct @ Matthias ? Implement it in the Interface (I think thats the best choice) Or implement it in an special unit that musnt come with lazarus ? I think the best way could be to implement it in the interface and make it useable in OnDragOver/OnDragDrop of the Form or OnDragFiles or something similar ... Christian -----Ursprüngliche Nachricht----- Von: dannym [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Januar 2006 19:04 An: lazarus@miraclec.com Betreff: Re: [lazarus] Drag&Drop Hi, Am Sonntag, den 01.01.2006, 19:24 +0100 schrieb Christian U.: > Has anyone an good solution for doing Drag & Drop with the OS (code for > win and linux and maybe macos) ? > I have searched the net the last hours but the standart Delphi ways > don't work because the windows messages are not translated in the LM_ > messages (WM_DROPFILES) for linux I dosend have found anything I'm not sure if lazarus implements WM_DROPFILES for linux (or if that even is the best way - probably not). But I have pretty deep experience with gtk 2, so I could help with implementing it for that, if so needed. (It's really easy, just gtk_drag_dest_set, connect to drag-data-received event and handle the stuff that got dropped there) cheers, Danny _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives