🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Hiding a console window ???

#6614
From: nets
Date: Wed, 27 Apr 2005 15:32
13 lines
1258 bytes
I'm trying to hide a console window from within the console app itselft.

I thought it would be as easy as moving it out of the visible area using 
SetConsoleWindowInfo(), but when trying to set it to be outside, I'm getting 
error code:

87 The parameter is incorrect. ERROR_INVALID_PARAMETER

Anyone know if it is possible to hide "your own" console window - this way 
or any other way?

Thanks!
/nets 
Technical Details
Message-ID: <426fb073$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f6cd8870aa4c4c68,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "nets" <nets@nets.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Hiding a console window ???
Date: Wed, 27 Apr 2005 11:32:07 -0400
Lines: 15
Organization: nets
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 68.225.85.36
Message-ID: <426fb073$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114615923 68.225.85.36 (27 Apr 2005 08:32:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail