🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Child Window Edit Control Problem

#16465
From: Bob Gonder
Date: Tue, 13 May 2003 20:52
11 lines
1557 bytes
"Bill Carson" <bcarson892003atyahoodotcom> wrote:

> 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.

Perhaps an   InvalidateRect()   UpdateWindow()   over the control
area, or just an WM_PAINT to the edit?
Technical Details
Message-ID: <pem2cvklcpgr5hk1ue3fttpmp0jr5fkh1m@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!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> <3ec10802@newsgroups.borland.com> <3ec12b1b@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 13:57:19 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Child Window Edit Control Problem
Date: Tue, 13 May 2003 13:52:01 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <pem2cvklcpgr5hk1ue3fttpmp0jr5fkh1m@4ax.com>
References: <3ebff8a8@newsgroups.borland.com> <3ec10802@newsgroups.borland.com> <3ec12b1b@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.238
X-Trace: newsgroups.borland.com 1052859118 67.31.165.238 (13 May 2003 13:51:58 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail