🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Modifing an external TEditBox

#2557
From: Dan Mayo
Date: Tue, 13 Feb 2007 01:32
23 lines
1662 bytes
Remy Lebeau (TeamB) wrote:
> "Dan Mayo" <do_not_spam_dmayo2@netzero.com> wrote in message
> news:45d0f5fb@newsgroups.borland.com...
> 
>> Now, when I try to set or get the text in the editbox, nothing
> happens.
> 
> If you read the documentation for Get/SetWindowText(), you will see
> that they do not work across process boundaries.  You have to send the
> WM_GET/SETTEXT messages directly instead.
> 
>> I've also tried  SetDlgItemText(EditBox, i,
> TestMessage->Text.c_str());
>> looping thru i=0 to 100000.
> 
> VCL components do not use any dialog IDs at all, so you cannot use the
> Get/SetDlgItem...() functions with them.
> 
> 
> Gambit
> 
> 
thanks.
Technical Details
Message-ID: <45d1154f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45d0f5fb@newsgroups.borland.com> <45d1051e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fc8f67857d15dd0d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 12 Feb 2007 19:32:10 -0600
From: Dan Mayo <do_not_spam_dmayo2@netzero.com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Modifing an external TEditBox
References: <45d0f5fb@newsgroups.borland.com> <45d1051e$1@newsgroups.borland.com>
In-Reply-To: <45d1051e$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 74.135.238.162
Message-ID: <45d1154f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171330383 74.135.238.162 (12 Feb 2007 17:33:03 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail