🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

WM_CLOSE / YesNo Dialog on closing program.

#7697
From: Sinead Bunyan
Date: Mon, 10 Jan 2005 15:33
10 lines
1309 bytes
Hi,

I would like to know what is the best way of asking the user for a YES/NO 
dialog when closing a program by clicking with the mouse on the X but this 
should not be required if windows is shutting down or doing a restart.

An example would be greatly appreciated.

Many thanks,
Sinead.
Technical Details
Message-ID: <41e2a036@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d947b84c7cfca26c,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Sinead Bunyan" <nospamSBUNYAN@DAIRYMASTER.COM>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: WM_CLOSE / YesNo Dialog on closing program.
Date: Mon, 10 Jan 2005 15:33:09 -0000
Lines: 13
Organization: Dairymaster
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 193.120.100.162
Message-ID: <41e2a036@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105371190 193.120.100.162 (10 Jan 2005 07:33:10 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail