hide form from alt+tab

  • Thread starter Thread starter meska
  • Start date Start date
Hi meska,

Your message and description are conflicting.

You can use Hide() or set Visible = false on a form to make it invisible. It would not show in either taskbar or alt-tab.

If you want it to be visible using alt-tab you can move the form outside the screen, and move it back when it gets focus.
 
sorry, missed the NOT word in message :)

somehow hide() and Visible = false shows program in alt+tab.

The way i found to hide it is use
this.FormBorderStyle = FormBorderStyle.FixedToolWindow;

Morten Wennevik said:
Hi meska,

Your message and description are conflicting.

You can use Hide() or set Visible = false on a form to make it invisible.
It would not show in either taskbar or alt-tab.
If you want it to be visible using alt-tab you can move the form outside
the screen, and move it back when it gets focus.
 
Back
Top