🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: End Task

#13395
From: Remy Lebeau (TeamB)
Date: Wed, 15 Oct 2003 09:02
21 lines
1897 bytes
"George" <george@nospam.org> wrote in message
news:3f8c6573@newsgroups.borland.com...

> I have on CloseQuery a canclose = false to deny the termination
> of my app. But if user waits on the taskmanager it receives the
> end task message box that "kills" my prog. Is it a way to answer
> to the windows task manager, in order not to be displayed that
> "does not respond" message?

The only time that message box should appear is if your application stops
processing messages.  Otherwise, just setting the CanClose parameter to
false should be enough to stop that dialog otherwise, since it always tries
to close a window gracefully first, and if the window does not close but
still continues to process messages then everything should be ok.  That has
always been my experience in the past.  But the, it would not surprise me if
XP changed the OS's rules of operation again.  Microsoft does that every so
often.


Gambit
Technical Details
Message-ID: <3f8d0e1c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f8c6573@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d3083da0363cf657
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-15 02:11:15 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f8c6573@newsgroups.borland.com>
Subject: Re: End Task
Date: Wed, 15 Oct 2003 02:02:26 -0700
Lines: 23
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: 67.22.137.75
Message-ID: <3f8d0e1c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066208796 67.22.137.75 (15 Oct 2003 02:06:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail