🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: hidden taskbar

#10544
From: Damon Chandler (TeamB)
Date: Fri, 02 Apr 2004 13:24
12 lines
1322 bytes
Hi,
> How to hide the windows' taskbar by run time ? Please help.

You can grab a handle to the taskbar by using the FindWindow() function; 
and then hide it via the ShowWindow() function...

   HWND const hTaskBar = FindWindow("Shell_TrayWnd", NULL);
   ShowWindow(hTaskBar, SW_HIDE);

HTH,
-- 
Damon (TeamB)
Technical Details
Message-ID: <406d695b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <406d03e8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c32fb04ec736a087
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-02 05:39:54 PST
Date: Fri, 02 Apr 2004 08:24:57 -0500
From: "Damon Chandler (TeamB)" <dmc27@cornell.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: hidden taskbar
References: <406d03e8$1@newsgroups.borland.com>
In-Reply-To: <406d03e8$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.58.5.101
Message-ID: <406d695b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080912219 24.58.5.101 (2 Apr 2004 05:23:39 -0800)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail