🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Finding whether Console app has a window

#4032
From: Boba
Date: Wed, 05 Apr 2006 18:25
12 lines
1498 bytes
"Richard Casten" <richard.casten@aero.org> wrote in message
news:44315F62.9A989B20@aero.org...
> I found on the Microsoft website the article:
> How To Obtain a Console Window Handle (HWND)
>     http://support.microsoft.com/default.aspx?scid=kb;en-us;124103
> Using the console window handle in the function IsWindowVisible will
> indicate whether the console is visible or not.
>
> This solves my problem.  Thanks for all the suggestions.

just have a question on that article: what if the application in
question does not let its console SetConsoleTitle in 40 ms?
Technical Details
Message-ID: <4433edfe@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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
References: <44171EF9.DD8A51D0@aero.org> <44315F62.9A989B20@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>
Subject: Re: Finding whether Console app has a window
Date: Wed, 5 Apr 2006 11:25:10 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.238.236.200
Message-ID: <4433edfe@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1144253950 24.238.236.200 (5 Apr 2006 09:19:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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