Article View: borland.public.cppbuilder.nativeapi
Article #7246Re: Trapping Messages Sent to a Service App
From: Remy Lebeau (TeamB)
Date: Tue, 22 Feb 2005 19:38
Date: Tue, 22 Feb 2005 19:38
12 lines
1330 bytes
1330 bytes
"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:
<421b8a3e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<opsmkruygsoyenhq@development-ws2.comvision.intranet>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f6cd5d765941c670 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: <opsmkruygsoyenhq@development-ws2.comvision.intranet> Subject: Re: Trapping Messages Sent to a Service App Date: Tue, 22 Feb 2005 11:38:47 -0800 Lines: 14 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: <421b8a3e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109101118 68.69.17.41 (22 Feb 2005 11:38:38 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail