Article View: borland.public.cppbuilder.nativeapi
Article #12659Re: Shutdown signal
From: frrn
Date: Thu, 27 Nov 2003 14:30
Date: Thu, 27 Nov 2003 14:30
27 lines
1724 bytes
1724 bytes
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:3fc5cfe5$1@newsgroups.borland.com...
>
> "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.
If I do not do this procedure my aplication didnt exit on windows exit
or log off, so I dont know
>
> > TControl::WndProc(Message);
>
> That should be calling TForm. not TControl:
>
> TForm::WndProc(Message);
>
My problem remain ....
> You are bypassing several layers of default message handling by jumping
> straight to the TControl level.
>
>
> Gambit
Technical Details
Message-ID:
<3fc60aeb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fc5aaf0$1@newsgroups.borland.com> <3fc5cfe5$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 06:40:01 PST Reply-To: "frrn" <radofrano@hotmail.com> From: "frrn" <radofrano@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fc5aaf0$1@newsgroups.borland.com> <3fc5cfe5$1@newsgroups.borland.com> Subject: Re: Shutdown signal Date: Thu, 27 Nov 2003 15:30:25 +0100 Lines: 30 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: 217.118.99.41 Message-ID: <3fc60aeb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069943531 217.118.99.41 (27 Nov 2003 06:32:11 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail