Article View: borland.public.cppbuilder.nativeapi
Article #2556Re: Modifing an external TEditBox
From: Remy Lebeau (TeamB)
Date: Tue, 13 Feb 2007 00:23
Date: Tue, 13 Feb 2007 00:23
20 lines
1507 bytes
1507 bytes
"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
Technical Details
Message-ID:
<45d1051e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45d0f5fb@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 From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <45d0f5fb@newsgroups.borland.com> Subject: Re: Modifing an external TEditBox Date: Mon, 12 Feb 2007 16:23:34 -0800 Lines: 22 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: 75.83.34.171 Message-ID: <45d1051e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1171326238 75.83.34.171 (12 Feb 2007 16:23:58 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail