Article View: borland.public.cppbuilder.nativeapi
Article #4844Re: label caption problems
From: Remy Lebeau (TeamB)
Date: Wed, 16 Nov 2005 22:28
Date: Wed, 16 Nov 2005 22:28
22 lines
1941 bytes
1941 bytes
"Alfred" <alf@no.spam.not.valid.email> wrote in message news:437a3330$1@newsgroups.borland.com... > Can I use Application->ProcessMessages() to process all message Yes, though it will introduce possible reentrant problems, at the least (for example, a button being clicked again which a previous click is still being processed). > but no TForm1::ClientSocketRead ? It is possible ? You cannot filter out particular messages when calling ProcessMessages(). It is an all-or-none operation. If you need to filter out messages, then you need to pump the message queue manually via the Win32 API Peek/GetMessage(), TranslateMessage(), and DispatchMessage() functions. Do note, however, that doing so will prevent the VCL from performing special processing on certain types of messages (messages, dialogs, etc) that ProcessMessages() normally performs. Gambit
Technical Details
Message-ID:
<437bb248@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43774c1f$1@newsgroups.borland.com> <4377d594$5@newsgroups.borland.com> <437a3330$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3a1e9dc5d0330ead X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43774c1f$1@newsgroups.borland.com> <4377d594$5@newsgroups.borland.com> <437a3330$1@newsgroups.borland.com> Subject: Re: label caption problems Date: Wed, 16 Nov 2005 14:28:39 -0800 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <437bb248@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132180040 68.69.17.41 (16 Nov 2005 14:27:20 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail