On Wed, 27 Oct 2010, Graeme Geldenhuys wrote:

Op 2010-10-21 13:27, Hans-Peter Diettrich het geskryf:

It should be possible, by adding a tool that sends the equivalent
drag-drop message(s) to Lazarus.

Drag-drop in LCL is just as limited as in VCL, so a LOT of extra work will
be required including extending the LCL interface. I know this because I
just implemented cross-application and internal-application drag-drop in
fpGUI, abstracting the DND API interface to work across Windows and Linux
with single source code implementation in applications.

The solution is not DND; this would require an additional program.
Instead, the file association should be used, lazarus should be started, and
should detect that an instance is running, and use some kind of messaging
to tell the running instance to load an additional file.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to