Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
i want to hide my application from taskbar processes. I tried IsShowInTaskbar=false but it only hides it from application tab but i want to hide it from process tab. can somebody help me on this topic.Thanks in advance.
Posted
Comments
OriginalGriff 28-Dec-13 5:04am    
Why?
The only reasons I can think of for trying to hide a process completely are all nefarious...

1 solution

If you want to prevent a Win Form from both appearing in the TaskBar, and from appearing in the Alt-Tab switch-programs facility:
C#
this.ShowInTaskbar = false;
this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
You could also use the 'SizableToolWindow option.

But, I urge you to consider the implications of implementing such non-standard Win Form behavior. Users are socialized to expect applications' windows to behave a certain way.

With the exception of certain unique situations, such as kiosk-mode applications, and (perhaps) public rent-a-computer facilities, I think it is generally a bad idea to mess with standard windows behavior.
 
Share this answer
 
Comments
agent_kruger 28-Dec-13 23:08pm    
thank you but one problem is before bring any application to focus it displays itself for a second i want to hide it from there also. Any idea how to achieve this?
BillWoodruff 29-Dec-13 0:46am    
Not quite sure what you mean by "bring any application to focus it displays itself for a second." Can you describe this in more detail ?
agent_kruger 21-May-14 11:21am    
sir, it means that application displays itself for a second and then hides itself but i need it to not appear on the screen for even 1 sec.

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