Graeme Geldenhuys schrieb:
On 21 August 2012 12:41, Hans-Peter Diettrich <[email protected]> wrote:
They *have* to use the platform protocols, so why should dragging files or
other objects run through an widgetset instead of using the API directly?
I have to admit that Bernd's implementation does seem strange - now
with multiple DND implementation between the LCL's TWinControl and his
TComponent descendant. But if it works, then great.
I also have so say, considering I have implemented x-platform DND in
fpGUI using platform API's directly, that using the platform API's
directly is a very complex task.
What's complex in providing a list of filenames, in a TStrings object,
and let the RTL/FCL do the rest?
Sending other objects is different, because it's bound to platform
capabilities and cannot be covered by a simple API.
DoDi
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus