Article View: borland.public.cppbuilder.nativeapi
Article #10051Re: Text copying
From: Ed Mulroy [TeamB]
Date: Mon, 24 May 2004 12:16
Date: Mon, 24 May 2004 12:16
18 lines
1406 bytes
1406 bytes
Try posting a WM_SETTEXT message to the window. PostMessage(hwnd, WM_SETTEXT, 0, ansi_str.c_str()); . Ed > Chris wrote in message > news:40b19c8b$1@newsgroups.borland.com... > > I'd like to copy text from an AnsiString to an edit > control that belongs to another program (Internet > explorer for example) without copying to the > clipboard or using keybd_event. > > I want it to copy to the control that currently has > focus (on the other program) > > Is there a way to do this?.
Technical Details
Message-ID:
<40b1e7a3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40b19c8b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,78c8363ac2992bfe X-Google-Attributes: gid10cc67,public From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <40b19c8b$1@newsgroups.borland.com> Subject: Re: Text copying Date: Mon, 24 May 2004 08:16:19 -0400 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 24.74.175.102 Message-ID: <40b1e7a3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085400995 24.74.175.102 (24 May 2004 05:16:35 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail