🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Intercepting the message loop

#17348
From: Alvise Valsecchi
Date: Fri, 04 Apr 2003 07:22
21 lines
2092 bytes
"Remy Lebeau (TeamB)" wrote:

> It is inside the TApplication::Run() method.  You don't have direct access
> to it unless you remove the call to Application->Run() entirely and run your
> own manual message loop instead.  But then the VCL won't work 100% correctly
> anymore, as TApplication::Run() does some things internally on behalf of the
> VCL which you can't execute manually as they are private to the VCL's core.

Thanks for this clear explanation. I wasn't aware of this.

>You didn't answer my original question, though - what
> EXACTLY do you want to intercept?  

I will tell you in a future post. I just read the TWAIN's programming
documentation and it was written that some events would have to be
intercepted from the user's application. That's all. In the meantime I
was asking myself "where the application's message loop is ?" and you
kindly gave me sufficient information to go ahead for the moment. As
soon as I will dig into the program code I can tell you.

Regards. Alvise.
Technical Details
Message-ID: <3E8D32B6.56E50689@hochfeiler.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3E8A8FC2.69FF3E30@hochfeiler.it> <3e8a9855@newsgroups.borland.com> <3E8ACAB2.7AA422AB@hochfeiler.it> <3e8ae242@newsgroups.borland.com> <3E8BE91D.8C76C76B@hochfeiler.it> <3e8c79c5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1e39ba27e7599735
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-03 23:28:05 PST
Message-ID: <3E8D32B6.56E50689@hochfeiler.it>
Date: Fri, 04 Apr 2003 09:22:30 +0200
From: Alvise Valsecchi <alvise@hochfeiler.it>
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Intercepting the message loop
References: <3E8A8FC2.69FF3E30@hochfeiler.it> <3e8a9855@newsgroups.borland.com> <3E8ACAB2.7AA422AB@hochfeiler.it> <3e8ae242@newsgroups.borland.com> <3E8BE91D.8C76C76B@hochfeiler.it> <3e8c79c5$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.110.148.66
X-Trace: newsgroups.borland.com 1049440890 195.110.148.66 (3 Apr 2003 23:21:30 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail