Re: paste contents of clipboard into external app


[ Delphi Forum ] [ Post Followup ]

Posted by webmaster Guido on January 13, 2004 at 17:11:22:

In Reply to: paste contents of clipboard into external app posted by 12167 Stefan Loeners on January 11, 2004 at 18:13:31:

: Would anyone know how to call the Windows API function to paste the contents of the clipboard?
: I cannot use the native pastefromcliboard function from Delphi, since it is for exclusive use within the Delphi app (or so it appears). I want to paste characters into Lotus Notes and other apps.
-----------------

A bit confusing :) To move data from your Delphi app to another app via the Clipboard, you *copy* to the Clipboard, not paste. So, I wondered why you're looking for "paste" code?

If you *copy* something to the Clipboard in a Delphi program, it is available to all other applications, so it's not for exclusive use in your Delphi app.

If you *paste* from the Clipboard in a Delphi program, the contents of the Clipboard can come from any source, also from other programs.

Regards,
webmaster Guido


Related Articles and Replies:


[ Delphi Forum ] [ Post Followup ]