🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Finding whether Console app has a window

#3934
From: Boba
Date: Wed, 05 Apr 2006 16:52
10 lines
1471 bytes
"Richard Casten" <richard.casten@aero.org> wrote in message
news:4433F1D2.56C6B4ED@aero.org...
> ...
> That's a good question.  I guess the author thinks that is enough.  I
> guess you could put a loop and not break out of the loop until hwndFound
> is not NULL.
>
if you are after a robust code, then consider a possible console window
management by the application running in that window. in my case i am
the one who starts that application, so i have the process information.
Technical Details
Message-ID: <4433f5de@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.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
References: <44171EF9.DD8A51D0@aero.org> <44315F62.9A989B20@aero.org> <4433edfe@newsgroups.borland.com> <4433F1D2.56C6B4ED@aero.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8446b6f28f0db0be
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Boba" <Boba@somewhere.world>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44171EF9.DD8A51D0@aero.org> <44315F62.9A989B20@aero.org> <4433edfe@newsgroups.borland.com> <4433F1D2.56C6B4ED@aero.org>
Subject: Re: Finding whether Console app has a window
Date: Wed, 5 Apr 2006 11:52:47 -0500
Lines: 12
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: 24.238.236.200
Message-ID: <4433f5de@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1144255966 24.238.236.200 (5 Apr 2006 09:52:46 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.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