🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Allowing app to close when system asks, but prompt for user

#8346
From: Remy Lebeau (TeamB)
Date: Mon, 01 Nov 2004 22:22
13 lines
1292 bytes
"Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?Borland%20Newsgroup> wrote
in message news:4186b4ba$1@newsgroups.borland.com...

> How can I get the app to recognise the source of
> the closure request and bypass the prompt if it is
> system-originated?

You would need to catch the WM_QUERYENDSESSION and/or WM_ENDSESSION
message(s) directly.


Gambit
Technical Details
Message-ID: <4186b6d1$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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4186b4ba$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ed85e305ef3f7bba,start
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: <4186b4ba$1@newsgroups.borland.com>
Subject: Re: Allowing app to close when system asks, but prompt for user
Date: Mon, 1 Nov 2004 14:22:11 -0800
Lines: 15
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: <4186b6d1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099347665 68.69.17.41 (1 Nov 2004 14:21:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail