🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Child Window Edit Control Problem

#16456
From: Bill Carson
Date: Tue, 13 May 2003 17:27
24 lines
2083 bytes
Gary:

I'm not exactly sure where you pasted my code into Poppad1,
so I am uncertain how you got it to work.  I compiled Popad1,
but it has no menus like my application, so I would have to
change it quite a bit to get it to work with my code.

Anyway - if I change my code so that when I originally create
my child window edit control as visible, then it works fine. This
is the same way that poppad1 does it. But, the way I would like
it to work is for the edit control to be invisible, then on command
from a menu item it will be filled with data read from a file. But,
for some reason when I use ShowWindow, the control apparently
doesn't assume focus, activate or whatever it takes to show the
text, until I click the scrollbar or the menu bar.

As for the strange manipulations with the text buffers - I did
that to try and emulate Petzolds code as much as possible,
while at the same time cutting out his unicode checking
code in Poppad3. So, yes it is a mess and I intend to fix it later.

Thanks,

Bill
Technical Details
Message-ID: <3ec12b1b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ebff8a8@newsgroups.borland.com> <3ec10802@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 10:29:05 PST
From: "Bill Carson" <bcarson892003atyahoodotcom>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ebff8a8@newsgroups.borland.com> <3ec10802@newsgroups.borland.com>
Subject: Re: Child Window Edit Control Problem
Date: Tue, 13 May 2003 10:27:36 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 66.119.208.199
Message-ID: <3ec12b1b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052846875 66.119.208.199 (13 May 2003 10:27:55 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail