Remove Icon From Task Switcher Menu

  • Thread starter Thread starter Gary Brown
  • Start date Start date
G

Gary Brown

Hi,

How do you remove an icon from the task switcher menu?
(The one you get with ALT-TAB.) I think I asked this before
but never got an answer. Now I have another app that
shows an icon for each form in the task switcher menu.
Only one for the application is needed.

Thanks,
Gary
 
Gary,

I believe that you can set the ShowInTaskbar property on the Form to
false, and it will prevent the icon from showing up in the task switcher
menu. Of course, this will also remove the item from the taskbar (the two
are linked, I believe).
 
How do you remove an icon from the task switcher menu?

I believe that you can set the ShowInTaskbar property on the Form to
false, and it will prevent the icon from showing up in the task switcher
menu. Of course, this will also remove the item from the taskbar (the two
are linked, I believe).

That removes the icon from the taskbar only. The icon is still in the
switcher
menu. WinAmp and others do it somehow. Such a simple thing has bitten
two projects.

Thanks,
Gary
 
How do you remove an icon from the task switcher menu?
in message

It works if you also set the FormBorderStyle to ..ToolWindow.

In further Googling the issue I found many copies of my query mirrored on
other sites.
A response on one of them provided the second condition.

Gary
 
Back
Top