Article View: borland.public.cppbuilder.nativeapi
Article #3484Re: Click another app's button
From: Remy Lebeau (TeamB)
Date: Fri, 02 Jun 2006 22:44
Date: Fri, 02 Jun 2006 22:44
17 lines
1493 bytes
1493 bytes
"Jeff" <Jeff@nospam.com> wrote in message news:4480bfa4@newsgroups.borland.com... > What happens is that if the application I'm trying to close has a > dialog box (modal window) open, then Windows thinks it was > terminated incorrectly when I send it the WM_CLOSE message. So? You are closing the application down anyway. > I was just thinking I could close all the dialogs and then send the > WM_CLOSE to the parent window to close it gracefully. Dialogs usually respond to the WM_QUIT message, if not WM_CLOSE. Gambit
Technical Details
Message-ID:
<4480c132$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4480a43a$1@newsgroups.borland.com> <4480bc1c$1@newsgroups.borland.com> <4480bfa4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4b00671b0054e23d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4480a43a$1@newsgroups.borland.com> <4480bc1c$1@newsgroups.borland.com> <4480bfa4@newsgroups.borland.com> Subject: Re: Click another app's button Date: Fri, 2 Jun 2006 15:44:28 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4480c132$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1149288754 68.69.17.41 (2 Jun 2006 15:52:34 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail