🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trapping Messages Sent to a Service App

#7248
From: Daniel
Date: Tue, 22 Feb 2005 23:19
27 lines
1665 bytes
Gambit

Could you elaborate some more please. As I have tried your solution, bit I  
am not able to get it to work.

Thank you

danieL.

> "Daniel" <d.jimenez@comvision.net.au> wrote in message
> news:opsmkruygsoyenhq@development-ws2.comvision.intranet...
>
>> Finally MyWndProc is defined and implemented as:
>
> You are catching the messages in the wrong place.  The messages are not  
> sent
> to the window you created.  They are sent it the hidden TApplication  
> window
> instead.  Use TApplication::HookMainWindow() to catch the messages.
>
>
> Gambit
Technical Details
Message-ID: <opsmmge1n6oyenhq@development-ws2.comvision.intranet>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.agarik.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <opsmkruygsoyenhq@development-ws2.comvision.intranet> <421b8a3e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f6cd5d765941c670
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Trapping Messages Sent to a Service App
Reply-To: d.jimenez@comvision.net.au
References: <opsmkruygsoyenhq@development-ws2.comvision.intranet> <421b8a3e$1@newsgroups.borland.com>
Message-ID: <opsmmge1n6oyenhq@development-ws2.comvision.intranet>
Date: Wed, 23 Feb 2005 10:19:39 +1100
From: Daniel <d.jimenez@comvision.net.au>
Organization: Comvision Pty Ltd
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: Quoted-Printable
User-Agent: Opera M2/7.54 (Win32, build 3929)
NNTP-Posting-Host: 203.51.23.185
X-Trace: newsgroups.borland.com 1109114422 203.51.23.185 (22 Feb 2005 15:20:22 -0800)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.agarik.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail