If the other form is in Delphi, else you need to get the handle of the
selected window.

How about something like this - off the top of the head <g>

SendMessage( OtherForm.ActiveControl.Handle, WM_COPY, 0, 0);

Myles.

-----Original Message-----
From: vss [mailto:vss@;vss.co.nz]
Sent: Friday, 18 October 2002 11:28 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Getting Selected Text


Hi all.
Is is pos. to get the text that is selected on another form?


Jeremy

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to