Article View: borland.public.cppbuilder.nativeapi
Article #17323Re: Intercepting the message loop
From: Remy Lebeau (TeamB)
Date: Thu, 03 Apr 2003 18:13
Date: Thu, 03 Apr 2003 18:13
20 lines
1972 bytes
1972 bytes
"Alvise Valsecchi" <alvise@hochfeiler.it> wrote in message news:3E8BE91D.8C76C76B@hochfeiler.it... > With BCB I can't figure out where the message loop is. 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. Please see my other reply, I already told you how you can hook into the native message loop. You didn't answer my original question, though - what EXACTLY do you want to intercept? Depending on what you want to intercect, and more importantly where, there are a number of different ways to get at it. Gambit
Technical Details
Message-ID:
<3e8c79c5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!ken-transit.news.telstra.net!news.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3E8A8FC2.69FF3E30@hochfeiler.it> <3e8a9855@newsgroups.borland.com> <3E8ACAB2.7AA422AB@hochfeiler.it> <3e8ae242@newsgroups.borland.com> <3E8BE91D.8C76C76B@hochfeiler.it>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 10:19:45 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3E8A8FC2.69FF3E30@hochfeiler.it> <3e8a9855@newsgroups.borland.com> <3E8ACAB2.7AA422AB@hochfeiler.it> <3e8ae242@newsgroups.borland.com> <3E8BE91D.8C76C76B@hochfeiler.it> Subject: Re: Intercepting the message loop Date: Thu, 3 Apr 2003 10:13:32 -0800 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e8c79c5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049393605 207.175.226.26 (3 Apr 2003 10:13:25 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!ken-transit.news.telstra.net!news.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail