Click here to Skip to main content
Click here to Skip to main content


, 24 Feb 2003 CPOL
Rate this:
Please Sign up or sign in to vote.
Utility to hide or unhide top-level windows
<!-- Download Links --> <!-- Add the rest of your HTML here -->


Sometimes I find I want to hide an application that is running in the background to stop me closing it, and to stop it appearing on the task list. How many times have you started a lengthy download, left it running in the background, and then closed the application accidentally while 'cleaning up' your desktop? This utility allows you to hide, and unhide any 'top level' windows (that is, any windows whose parent is the desktop).

On running the utility, an icon will appear in your taskbar. Clicking or right-clicking on it will produce a menu, similar to the following: <!-- Article image -->

HideIt menu

This menu has two submenus that will list all of your top-level windows. Any window that is visible will be shown on the 'Hide Window' menu, while any window that is hidden will appear on the 'Show Window' menu. Clicking on a window name in either menu will toggle its visible state.

Normally the Windows system uses many hidden windows for such purposes as DDE message exchange etc. To avoid windows being listed in either of the lists you can add them to an 'exclusion' list. Double-clicking on the taskbar icon, or clicking and then clicking options, will open a dialog with a picker list allowing you to add or remove windows from the exclusion list. This list is then saved to your profile and used each time you run the utility. To exit the utility, click on Exit on the menu. That's all there is to it - have fun!


  • Version 1 - 19 Feb 2003

    • First version


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Paul Vickery
Software Developer (Senior)
United Kingdom United Kingdom
Originally from an electronics background, I moved into software in 1996, partly as a result of being made redundant, and partly because I was very much enjoying the small amount of coding (in-at-the-deep-end-C) that I had been doing!
I swiftly moved from C to C++, and learned MFC, and then went on to real-time C on Unix. After this I moved to the company for which I currently work, which specialises in Configuration Management software, and currently program mainly in C/C++, for Windows. I have been gradually moving their legacy C code over to use C++ (with STL, MFC, ATL, and WTL). I have pulled in other technologies (Java, C#, VB, COM, SOAP) where appropriate, especially when integrating with third-party products.
In addition to that, I have overseen the technical side of the company website (ASP, VBScript, JavaScript, HTML, CSS), and have also worked closely with colleagues working on other products (Web-based, C#, ASP.NET, SQL, etc).
For developing, I mainly use Visual Studio 2010, along with an in-house-designed editor based on Andrei Stcherbatchenko's syntax parsing classes, and various (mostly freeware) tools. For website design, I use Dreaweaver CS3.
When not developing software, I enjoy listening to and playing music, playing electric and acoustic guitars and mandolin.
Follow on   Google+   LinkedIn

Comments and Discussions

GeneralVery good Pinmemberitpig4-Jul-07 17:29 
Questionand to hide icons in the systray?? Pinmemberjojo291185-Jun-05 2:20 
AnswerRe: and to hide icons in the systray?? PinmemberPaul S. Vickery5-Jul-05 3:09 
GeneralNice, but crashes at times Pinmemberdhickman17-Jul-03 11:39 
GeneralRe: Nice, but crashes at times PinmemberPaul S. Vickery30-Nov-03 23:40 
Questionwhat can be done with Windows own pop up boxes? Pinsussmr ree drink30-Mar-03 12:21 
GeneralGood work. I need an advice Pinmemberraducu28-Feb-03 1:51 
GeneralHi PinmemberVinod Sharma27-Feb-03 2:27 
GeneralAnother method... PinmemberKevin Cotter26-Feb-03 3:48 
GeneralOne more similar product PinmemberVadim Melnik26-Feb-03 1:55 
GeneralThe Wonderful Icon Pinmemberdandycheung24-Feb-03 17:11 
GeneralRe: The Wonderful Icon PinmemberAndreas Saurwein25-Feb-03 5:49 
GeneralClickety, but.... PinmemberChristian Graus25-Feb-03 12:28 
GeneralRe: Clickety, but.... Pinmemberdandycheung25-Feb-03 16:11 
GeneralSome suggestions PinmemberAndreas Saurwein20-Feb-03 0:44 
GeneralRe: Some suggestions PinmemberPascal Binggeli26-Feb-03 10:58 
GeneralRe: Some suggestions PinmemberAndreas Saurwein26-Feb-03 13:32 
GeneralRe: Some suggestions PinmemberHans J. Schroeder9-Mar-03 4:48 
GeneralRe: Some suggestions PinmemberPascal Binggeli9-Mar-03 5:53 
GeneralGood idea PinmemberYi Yang19-Feb-03 22:56 
GeneralRe: Good idea PinsussMr. Ree (Mystery) Drink30-Mar-03 12:09 
GeneralInteresting, but... PinmemberHans Dietrich19-Feb-03 2:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150129.1 | Last Updated 25 Feb 2003
Article Copyright 2003 by Paul Vickery
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid