Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Hiding Windows from task bar

Hiding Windows from task bar

Hiding Windows from task bar

Does anyone know a way to hide certain windows from the task bar (win xp)? There is a program I use at work that loads two cmd prompt windows (along with the window for the program itself) that take up a lot of room on my task bar, so I would like to load the program that opens the two cmd prompts, then run a script to hide them from the tray. I cant simply close them, because they are used to communicate with servers, but I never use them. Is there a way to hide the windows, but still keep them visible in the ALT+TAB menu, just in case I ever need to use them for some unforeseen reason?

Maybe there is something to set in the regisry to make all cmd prompt windows run in the background?

I am not too picky on how to hide these windows, I just want more space for programs on the tray.

Any help would be great, I am somewhat familiar with VB, but I have never used it for controlling windows before..

Thanks for the help!

Eric Roe
Electro-Mechanical Engineer
Airfloat LLC

RE: Hiding Windows from task bar

Not really hiding them but if you have a wide screen, why not put the task bar on the left or right. On my screen I need at least 20 different ones open before they regroup or split.

Alternatively, this is what I used to do on windows3.1 but I don't know whether it still works.

1) Under linker/system change to /subsystem: windows
2) This will work as long as you are not using arguments. Add


int __stdcall WinMain(int hInstance, int hPrevInstance, char* lpCmdLine, int nCmdShow) { return main (); }

RE: Hiding Windows from task bar

Assuming this is a question about Visual Basic and you have the source code, you can set the ShowInTaskBar properties of the form.


RE: Hiding Windows from task bar

IRstuff, No I do not have access to the code..

xwb, Thanks for the advice on putting the task bar on the side, simple solution, never even considered doing it!

Thanks for the help guys, its not the ideal solution to the problem, but it sure is the easiest!

Eric Roe
Electro-Mechanical Engineer
Airfloat LLC

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close