🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WM_ENDSESSION + Win2k/WinXP

#15762
From: Duane Hebert
Date: Wed, 18 Jun 2003 18:03
12 lines
1540 bytes
> Everybody who has comments or experiences with Windows shutdown is
> kindly invited to this discussion.

I just got through rewriting a bunch of code because at window logoff, my
dtor
in my main form wasn't getting called.  With some help from Remy and a
couple
of others we saw that at logoff, the OnClose event wasn't firing.  I think
it had something to do with the
WM_ENDSESSION  message.  I worked around this by putting everything in the
OnCloseQuery
event instead.  Not sure if it's the same problem but it sounds similar...
Technical Details
Message-ID: <3ef0a966@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ef08c31$1@newsgroups.borland.com> <3ef09b02$1@newsgroups.borland.com> <3ef0a332@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9e00bf1ef85252e4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-18 11:06:52 PST
From: "Duane Hebert" <duane@nitrex.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ef08c31$1@newsgroups.borland.com> <3ef09b02$1@newsgroups.borland.com> <3ef0a332@newsgroups.borland.com>
Subject: Re: WM_ENDSESSION + Win2k/WinXP
Date: Wed, 18 Jun 2003 14:03:43 -0400
Lines: 14
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: 199.243.88.188
Message-ID: <3ef0a966@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055959398 199.243.88.188 (18 Jun 2003 11:03:18 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail