Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What i want to achieve is that i have a windows application.
I want that when the program is running it should not be visible on the windows taskbar. N icon can come up in the system tray but not in taskbar.
An example of this implementation is a small utility called Stickies. Its a desktop app generally used for taking notes. It is always running in background. The notes show up on the screen all the time but the process isnt shown on the taskbar.
How can i achieve this.
Thanks....
Posted

1 solution

Sure, it's important to do. This is done on per-window basis.

For System.Windows.Forms use System.Windows.Forms.Form.ShowInTaskbar (assign this instance property to false).

For WPF, use System.Windows.Window.ShowInTaskbar (same thing).

—SA
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900