🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Child Window Edit Control Problem

#16448
From: Gary Setter
Date: Tue, 13 May 2003 14:57
16 lines
1782 bytes
"Bill Carson" <bcarson892003atyahoodotcom> wrote in message
news:3ebff8a8@newsgroups.borland.com...
> I can't get the text to display in a child window
> edit control, unless I click on either the vertical
> scroll bar or a parent window menu item first.
<snip>

I pasted you code into Poppad1. After adjusting the name of the edit windows
handler variable it worked fine. See if you have a valid handle.

BTW, I'm not sure I understand why you're using as many buffers as you do.
If you allocate one buffer with the size of the file, you can us it to set
the text of the edit control. If it was me, I would make the pFileBuffer of
type char *. Is this a Unicode application? Is that why you need to make an
edit buffer twice the size of the file buffer?
Technical Details
Message-ID: <3ec10802@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ebff8a8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,575e875ad3e11327
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-13 08:01:02 PST
From: "Gary Setter" <setterg@worldnet.att.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ebff8a8@newsgroups.borland.com>
Subject: Re: Child Window Edit Control Problem
Date: Tue, 13 May 2003 09:57:45 -0500
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 12.84.32.56
Message-ID: <3ec10802@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052837890 12.84.32.56 (13 May 2003 07:58:10 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail