Article View: borland.public.cppbuilder.nativeapi
Article #8773Re: Detect Windows shutdown or Log Off
From: Remy Lebeau (TeamB)
Date: Thu, 23 Sep 2004 23:42
Date: Thu, 23 Sep 2004 23:42
15 lines
1337 bytes
1337 bytes
"Adelino Rocha" <aderocha@mail.telepac.pt> wrote in message news:41535EEC.FC350D2A@mail.telepac.pt... > I have been trying to trace and handle on TApplication OnMessage event <snip> > ...but this seems not to work. > > Does anybody knows why ? You are hooking the wrong thing to begin with. Use the TApplication::HookMainWindow() method instead of the OnMessage event. Gambit
Technical Details
Message-ID:
<41535f40$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41535EEC.FC350D2A@mail.telepac.pt>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f62d70a312897be3 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: <41535EEC.FC350D2A@mail.telepac.pt> Subject: Re: Detect Windows shutdown or Log Off Date: Thu, 23 Sep 2004 16:42:06 -0700 Lines: 17 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: <41535f40$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1095982912 68.69.17.41 (23 Sep 2004 16:41:52 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail