Article View: borland.public.cppbuilder.nativeapi
Article #12432Re: Find main window
From: Remy Lebeau (TeamB)
Date: Thu, 04 Dec 2003 02:36
Date: Thu, 04 Dec 2003 02:36
29 lines
1916 bytes
1916 bytes
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message news:3fce9b5b@newsgroups.borland.com... > The main reason why I'm asking for the main window > is for example because of programs like BCB. BCB > has usually more than one top level window opened. All the more reason to close all of the windows, not just the "main" one. > When I close BCB by hand it seems to remember which > windows were open at that time (f.e. Project Manager). If you close the "main" window. But you can't always be sure that you are working with the "main" window. Just close them all. > When I simply would send WM_CLOSE to all windows > the Project Manager could be closed before the main > window. That is fine. > That would mean that when BCB is started the next time > it would not be in the same state as it was the last time. Each window should remember its own state and positioning. Gambit
Technical Details
Message-ID:
<3fce9cc2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!xmission!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3fce7f27$1@newsgroups.borland.com> <3fce8c75$1@newsgroups.borland.com> <3fce9b5b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,74436598b6953f9a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-03 18:36:20 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fce7f27$1@newsgroups.borland.com> <3fce8c75$1@newsgroups.borland.com> <3fce9b5b@newsgroups.borland.com> Subject: Re: Find main window Date: Wed, 3 Dec 2003 18:36:44 -0800 Lines: 32 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.23.78.224 Message-ID: <3fce9cc2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070505154 67.23.78.224 (3 Dec 2003 18:32:34 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!xmission!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail