Remove Icon From Task Switcher Menu

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
 
N

Nicholas Paldino [.NET/C# MVP]

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).
 
G

Gary Brown

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
 
G

Gary Brown

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top