473,388 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

C# - Form: How to remove icon from Alt-tab?

Is there an easy way to remove the icon of a form (in this case a progress bar) from the alt-tab menu? When the progress bar appears in my appIication the default program icon appears in the alt+tab menu.

I have found suggested solutions to the problem by setting the formborderstyle to toolWindow but the formborderstyle has to be FixedDialog.

Thanks for any help
Jul 18 '07 #1
3 3166
You can remove it from the taskbar with the form's "ShowInTaskbar" property, but according to Sams C# you can't remove it from the Alt-Tab list (which would make it inaccessible to the user).
Jul 18 '07 #2
Plater
7,872 Expert 4TB
If you installed your process as a service, or had no GUI windows at all, your process would be hidden from alt+tab.

Actually I think if you .hide() or whatever your GUI it removes it from the alt+tab.
Just make sure you have some way to bring it back. (Like a statusIcon)
Jul 18 '07 #3
Thanks

ToolWindow solution worked perfectly for my application.
Feb 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ron James | last post by:
I have a Dialog type form that starts a worker thread, allows the thread to update its progess and provides a Cancel button. Following advice from Chad Meyers in a recent posting, the worker...
0
by: Microsoft | last post by:
How to make a sizable form with a title and a close button, but no icon and not ControlBox=false ??? Thank
3
by: VJ | last post by:
I am trying to set my Form's Icon property at run time based on certain parameters. I have a imglist in the form for other purposes I would like to use the same image list to keep the Forms icon...
3
by: asdf | last post by:
Hello, My VB.NET program displays a system tray icon. It works fine and when I start app it appears and when shutdown app it disappears. However, when my app crashes the icon stays and only it...
10
by: Doug Bell | last post by:
Hi Can someone tell me how you set the Icon that is visible in the Windows "Add/Remove Programs" Utility. I am trying to deploy a VB Dot Net Application and have its Icon display there rather...
3
by: Nina | last post by:
Hi there, I assigned icon for a window's form using form's Icon property at design time. Now I want to change the icon. I tried to replace the old icon with the new icon using form's Icon...
2
by: Emby | last post by:
OK, really dumb question - how do I set the icon for a shortcut to a WinForms app? I've set an icon into the main form's Icon property, and its ShowIcon and ShowInTaskbar properties are set to...
2
by: Rainer Queck | last post by:
Hello NG, what are the right dimensions for a window icon, used on a mdi child window? My Problem: I used a third party Icon-Designer to design some icons for my application. Those icons look...
2
by: Gary Brown | last post by:
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...
1
Curtis Rutland
by: Curtis Rutland | last post by:
I'm using C#, framework 2.0. I'd like to set one of my forms to use no icon, but I can't find the place to set this. Does anyone know how to set a form to have no icon?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.