Article View: borland.public.cppbuilder.nativeapi
Article #8292Re: PostMessage() does not close the Form
From: hans galema
Date: Wed, 10 Nov 2004 11:58
Date: Wed, 10 Nov 2004 11:58
23 lines
1856 bytes
1856 bytes
Umut Ozden wrote: > I was told that Close() command cannot be used in a FormActivate event. > I chose PostMessage() to close the form because it is the simplest. Maybe. But if it does not do the job ? > I expected an answer explaining why PostMessage() doesn't work know. Since > you didn't explain > this, I regard the answer to be insufficient. I gave you a working solution for your problem. You could have told by now why you insist in using PostMessage instead of taking a simple working solution. Indeed I do not bother about PostMessage() not acting as you expect. > I 'm not going to post the mail to the students newsgroups since it would > be duplicate. An explanation why you won't accept the proposed 'working' solution will not fall in that category. Hans.
Technical Details
Message-ID:
<41920269$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-mailReferences:
<4191b34d@newsgroups.borland.com> <4191d74d$1@newsgroups.borland.com> <4191f7e8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eddba34e31a6f877 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 10 Nov 2004 12:58:41 +0100 From: hans galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: PostMessage() does not close the Form References: <4191b34d@newsgroups.borland.com> <4191d74d$1@newsgroups.borland.com> <4191f7e8@newsgroups.borland.com> In-Reply-To: <4191f7e8@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <41920269$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100087913 129.125.201.248 (10 Nov 2004 03:58:33 -0700) Lines: 23 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