Article View: borland.public.cppbuilder.nativeapi
Article #12658Re: Shutdown signal
From: Remy Lebeau (TeamB)
Date: Thu, 27 Nov 2003 10:24
Date: Thu, 27 Nov 2003 10:24
20 lines
1405 bytes
1405 bytes
"frrn" <radofrano@hotmail.com> wrote in message
news:3fc5aaf0$1@newsgroups.borland.com...
> if(Message.Msg == WM_QUERYENDSESSION || Message.Msg == WM_ENDSESSION)
You shouldn't need to do that manually, the VCL already handles those
messages.
> TControl::WndProc(Message);
That should be calling TForm. not TControl:
TForm::WndProc(Message);
You are bypassing several layers of default message handling by jumping
straight to the TControl level.
Gambit
Technical Details
Message-ID:
<3fc5cfe5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3fc5aaf0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,126fc3ba03e9bc88 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-27 02:24:22 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fc5aaf0$1@newsgroups.borland.com> Subject: Re: Shutdown signal Date: Thu, 27 Nov 2003 02:24:30 -0800 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.149 Message-ID: <3fc5cfe5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069928421 67.22.137.149 (27 Nov 2003 02:20:21 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail