🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

MessageDlg -> Ctrl+F4

#8900
From: Francois
Date: Mon, 30 Aug 2004 08:59
17 lines
1364 bytes
Hi all,

Just found an annoying difference between MessageBox and MessageDlg:  
If Ctrl+F4 is pressed when a MessageBox is displayed then nothing
happens.  If it is pressed when a MessageDlg is displayed, then the
form that called the MessageDlg is terminated and the MessageDlg
remains active!  Now, if there remains processing after the call to
MessageDlg then the result is catastrophic.

Any fixes or suggestions?  I have lots of MessageDlg's throughout my
application and don't want to change them all if there is another way
out.

Your help will be greatly appreciated.

Thanks,
Francois
Technical Details
Message-ID: <a721b8ce.0408300059.513c0ef1@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,48b5616e59250516,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail
From: francois@asnone.com (Francois)
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: MessageDlg -> Ctrl+F4
Date: 30 Aug 2004 01:59:42 -0700
Organization: http://groups.google.com
Lines: 17
Message-ID: <a721b8ce.0408300059.513c0ef1@posting.google.com>
NNTP-Posting-Host: 198.54.202.115
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1093856383 15446 127.0.0.1 (30 Aug 2004 08:59:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 30 Aug 2004 08:59:43 +0000 (UTC)