🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Finding whether Console app has a window

#4018
From: Richard Casten
Date: Mon, 03 Apr 2006 17:46
7 lines
1181 bytes
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.
Technical Details
Message-ID: <44315F62.9A989B20@aero.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <44171EF9.DD8A51D0@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
Message-ID: <44315F62.9A989B20@aero.org>
Date: Mon, 03 Apr 2006 10:46:10 -0700
From: Richard Casten <richard.casten@aero.org>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Finding whether Console app has a window
References: <44171EF9.DD8A51D0@aero.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 130.221.27.185
X-Trace: newsgroups.borland.com 1144086260 130.221.27.185 (3 Apr 2006 10:44:20 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail