Board index » delphi » Drag'n'drop between applications

Drag'n'drop between applications

How can I do drag'n'drop between two diferent Delphi applications,
say, between Listbox1 in App1 and Edit1 in App2.  Using Windows API
calls is the only way out?

Thanks,
Daniel Maltarolli.

 

Re:Drag'n'drop between applications


Quote
In article <32efffae.1533...@news.centroin.com.br>, dma...@centroin.com.br (Daniel Maltarolli) wrote:
>How can I do drag'n'drop between two diferent Delphi applications,
>say, between Listbox1 in App1 and Edit1 in App2.  Using Windows API
>calls is the only way out?

This needs OLE drag and drop.  I'm working on finishing up a pair of
components to do this (Delphi 2.x and higher).  I'll post an announcement when
I'm done.

Jim.

_______________________________________________________________________
James A. O'Brien, R&D, Performance Trading Technologies, Inc.
HQ:  630 Third Avenue, New York, NY 10017  
+1 (212) 972-1702 (voice)    +1 (212) 972-0288 (fax)
R&D:  132 Cherry Hill Road, Orange CT 06477      
+1 (203) 891-8333 (voice)    +1 (203) 795-3598 (fax)
Wiz...@PTTI.com      http://www.PTTI.com

Re:Drag'n'drop between applications


Quote
Daniel Maltarolli wrote:

> How can I do drag'n'drop between two diferent Delphi applications,
> say, between Listbox1 in App1 and Edit1 in App2.  Using Windows API
> calls is the only way out?

> Thanks,
> Daniel Maltarolli.

Dear Daniel,

        Please try to use TClipBoard methods (CopyTo and PasteFrom) at both the
applications, it will work, because ClipBoard is the common platform for
all the applications running under one operating system.

Thanks, with warm regards!

Arvind Khanna
Pie-MESON Systems & Softwares
Auhorised Developer Partner for Borland Products

Other Threads