🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10062

Re: Text copying

#10062
From: Ed Mulroy [TeamB]
Date: Mon, 24 May 2004 18:18
13 lines
1318 bytes
Good catch, thanks!

.  Ed

> Remy Lebeau wrote in message
> news:40b227f3$1@newsgroups.borland.com...
>
> > PostMessage(hwnd, WM_SETTEXT, 0, ansi_str.c_str());
>
> If the target window is in another process, then you should
> be using SendMessage() instead, otherwise the AnsiString
> char* pointer may become invalid before the other process
> has a chance to use it.
Technical Details
Message-ID: <40b23c7f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40b19c8b$1@newsgroups.borland.com> <40b1e7a3$1@newsgroups.borland.com> <40b227f3$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> <40b1e7a3$1@newsgroups.borland.com> <40b227f3$1@newsgroups.borland.com>
Subject: Re: Text copying
Date: Mon, 24 May 2004 14:18:22 -0400
Lines: 15
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: <40b23c7f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085422719 24.74.175.102 (24 May 2004 11:18:39 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail