Article View: borland.public.cppbuilder.nativeapi
Article #13520Re: Windows becoming Frozen while high volume data access
From: Dwayne
Date: Mon, 06 Oct 2003 22:07
Date: Mon, 06 Oct 2003 22:07
21 lines
1666 bytes
1666 bytes
Hello Gambit,
Dwayne
> The Form has no details, just blank screen, yet the data is still
> running away like it is supposed to. Is there a way to keep this
> from happening?
Gambit>>Yes. Call Application->ProcessMessages() periodically during the
search, or
else move the searching into a separate worker thread.
Thank you very much for your help.
I ended up making a integer counter. as Such:
if(counter/10 =(int)counter/10)Application->ProcessMessages (Pseudo
Code)
And it only slowed down the program a little, yet fixed the situation.
Dwayne
Technical Details
Message-ID:
<3f830d5f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f81d1be$1@newsgroups.borland.com> <3f81d348$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,664822a129bf4b15 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-07 12:12:13 PST Reply-To: "Dwayne" <myfrienddr@yahoo.com> From: "Dwayne" <myfrienddr@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f81d1be$1@newsgroups.borland.com> <3f81d348$1@newsgroups.borland.com> Subject: Re: Windows becoming Frozen while high volume data access Date: Mon, 6 Oct 2003 15:07:56 -0700 Lines: 24 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: 68.103.107.245 Message-ID: <3f830d5f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065553247 68.103.107.245 (7 Oct 2003 12:00:47 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail