Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

Remove Icon From Task Switcher Menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary Brown - 24 Aug 2007 23:24 GMT
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
Nicholas Paldino [.NET/C# MVP] - 27 Aug 2007 20:14 GMT
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).

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Hi,
>
[quoted text clipped - 6 lines]
> Thanks,
> Gary
Gary Brown - 29 Aug 2007 16:19 GMT
>> How do you remove an icon from the task switcher menu?

"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote in
message

>    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
Gary Brown - 31 Aug 2007 18:51 GMT
>>> How do you remove an icon from the task switcher menu?

> "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote
> in message

>>    I believe that you can set the ShowInTaskbar property on the Form to
>> false

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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.