🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Application ProcessMessages

#4229
From: Remy Lebeau (TeamB)
Date: Wed, 08 Mar 2006 18:23
18 lines
1452 bytes
"saravanan" <asaravanan@ften.com> wrote in message
news:440ee66c@newsgroups.borland.com...

>    Is there any way to skip the message posted to a specific
> handle being processed, when invoking Application->ProcessMessage.

Use the TApplication::OnMessage event.  The handler handler has a Handled
parameter that you can set to true on a per-message basis.

> Is there any way to filter out the messages not posted to a specific
handle.

The hwnd member of the MSG structure should be NULL for any message being
posted to the thread itself rather than a specific window.


Gambit
Technical Details
Message-ID: <440f21ca$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <440ee66c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bb5b2339083fb22b
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: <440ee66c@newsgroups.borland.com>
Subject: Re: Application ProcessMessages
Date: Wed, 8 Mar 2006 10:23:41 -0800
Lines: 20
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: <440f21ca$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1141842378 68.69.17.41 (8 Mar 2006 10:26:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail