🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows End Session message

#4897
From: Remy Lebeau (TeamB)
Date: Thu, 10 Nov 2005 18:24
16 lines
1644 bytes
"Joanne" <jo.bullock@tiscali.co.uk> wrote in message 
news:43732706$1@newsgroups.borland.com...

> I have created a handler for the message WM_ENDSESSION,
> and put some code in the handler, however when I try to call the
> default (inherited) handler from within my handler, as follows:
> TForm::WMEndSession(Message);
> I receive a compiler error "Undefined Symbol"

That is bcause there is no such inherited method at all.  Depending on where 
exactly you are intercepting the message in the first place, you need to 
call either the TForm::WndProc() or TForm::Dispatch() method instead.


Gambit 
Technical Details
Message-ID: <4373911d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!diablo.voicenet.com!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43732706$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e6c2b984611dcd0b
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: <43732706$1@newsgroups.borland.com>
Subject: Re: Windows End Session message
Date: Thu, 10 Nov 2005 10:24:27 -0800
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.114.246.206
Message-ID: <4373911d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131647261 66.114.246.206 (10 Nov 2005 10:27:41 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!diablo.voicenet.com!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail