Article View: borland.public.cppbuilder.nativeapi
Article #7353Re: Native Version of Application->ProcessMessages()
From: Bruce Salzman
Date: Thu, 10 Feb 2005 15:53
Date: Thu, 10 Feb 2005 15:53
24 lines
1499 bytes
1499 bytes
> I would like use the native vesion of the VCL function
> ProcessMessages(),
> but I don't know if exists and his name.
>
> Thanks in advance!!
> Salvador Huertas.
>
You want to execute a message loop?
MSG Msg;
while (PeekMessage(&Msg, 0,0,0, PM_REMOVE))
{
TranslateMessage(&Msg);
DispatchMessage(&Msg);
}
This is basically what ProcessMessages does (it actually calls
ProcessMessage in a loop). Look at Forms.pas to see what else the VCL
function does.
--
Bruce
Technical Details
Message-ID:
<420b82b6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<420b7ca7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,afb9cc239568cdaf X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: " Bruce Salzman" <bruce@nospam.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <420b7ca7@newsgroups.borland.com> Subject: Re: Native Version of Application->ProcessMessages() Date: Thu, 10 Feb 2005 09:53:00 -0600 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 24.94.231.89 Message-ID: <420b82b6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108050614 24.94.231.89 (10 Feb 2005 07:50:14 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail