🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #32508

Re: Delay in Formless GUI application

#32508
From: Andy Hill
Date: Fri, 22 Nov 2002 16:19
30 lines
1834 bytes
David B. Ferguson wrote:
> "DGJ" <DGJ@XXX-Btinternet-XXX.com> wrote in message
> news:5iortus03ebeqon39u1gi80k51kcog08dr@4ax.com...
> 
>>Hi
>>
>>Sorry, when I said CPU overhead what I meant really was that some
>>windows do not get redrawn properly in any application that starts at
>>the same time as mine.
>>
>>DGJ
>>
> 
> 
> procedure Delay(MilliSecs: Integer);
> var x:: LongInt;
> begin
>    x:=GetTickCount;
>    repeat
>       Application.ProcessMessages;
>    until ((GetTickCount-x) >= Longint(MilliSecs));
> end;

How can his Apps messages affect windows
in other apps?

-- 
Andy Hill.

Quidquid latine dictum sit, altum sonatur.
Technical Details
Message-ID: <3DDE5919.9020706@cairnwebnospam.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <j3irtukg6568s7q0ishs57vmrng5g284ra@4ax.com> <3dddd21f$1@newsgroups.borland.com> <3dddd953@newsgroups.borland.com> <5iortus03ebeqon39u1gi80k51kcog08dr@4ax.com> <3dde4d3a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,78305e78c1df1611
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2002-11-22 09:15:39 PST
Message-ID: <3DDE5919.9020706@cairnwebnospam.com>
Date: Fri, 22 Nov 2002 16:19:37 +0000
From: Andy Hill <a.hill@cairnwebnospam.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.language.objectpascal
Subject: Re: Delay in Formless GUI application
References: <j3irtukg6568s7q0ishs57vmrng5g284ra@4ax.com> <3dddd21f$1@newsgroups.borland.com> <3dddd953@newsgroups.borland.com> <5iortus03ebeqon39u1gi80k51kcog08dr@4ax.com> <3dde4d3a$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.195.130.233
X-Trace: newsgroups.borland.com 1037982041 193.195.130.233 (22 Nov 2002 08:20:41 -0800)
Lines: 31
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail