Article View: borland.public.cppbuilder.nativeapi
Article #16033Re: log off/ application terminate
From: Duane Hebert
Date: Wed, 04 Jun 2003 15:56
Date: Wed, 04 Jun 2003 15:56
11 lines
1726 bytes
1726 bytes
> Yes. Since the FormQueryClose is always called (be it in a normal > form close or a user logo off) the clean up should be done in > this event handler. > Just make sure you don't do anything that might upset the form > destructor (it will still be called in case it's a normal > form close). No I have a function to cleanup everything. I call only that in the dtor. I will move it to the FormCloseQuery. I really appreciate the assistance here but I have to say that it goes against the grain to not be able to use the dtor to cleanup the class.
Technical Details
Message-ID:
<3ede16c5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3edccd80@newsgroups.borland.com> <3EDD5EE0.9060804@fake.com> <3edd66d9$1@newsgroups.borland.com> <3edd6c58$1@newsgroups.borland.com> <3EDDE16A.5030506@iae.cta> <3eddf36a$1@newsgroups.borland.com> <3eddf72b$1@newsgroups.borland.com> <3ede0188@newsgroups.borland.com> <3EDE12F8.9030105@directnet.com.br>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f4b8abe1a2fab575 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-04 09:03:06 PST From: "Duane Hebert" <duane@nitrex.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3edccd80@newsgroups.borland.com> <3EDD5EE0.9060804@fake.com> <3edd66d9$1@newsgroups.borland.com> <3edd6c58$1@newsgroups.borland.com> <3EDDE16A.5030506@iae.cta> <3eddf36a$1@newsgroups.borland.com> <3eddf72b$1@newsgroups.borland.com> <3ede0188@newsgroups.borland.com> <3EDE12F8.9030105@directnet.com.br> Subject: Re: log off/ application terminate Date: Wed, 4 Jun 2003 11:56:53 -0400 Lines: 13 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: <3ede16c5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054742213 199.243.88.188 (4 Jun 2003 08:56:53 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail