Bernd schrieb:
2012/8/21 Graeme Geldenhuys <[email protected]>:
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.
its not *between* the TWinControl and my component, my component is
just there as a wrapper around some internal state (which could also
be implemented in the TWinControl directly)
Your component should be a non-visual one, like a timer. Basing it on
TWinControl is the wrong way, it *introduces* all the widgetset
dependencies :-(
DoDi
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus