B Bob Powell [MVP] Oct 20, 2004 #2 Physically change the contents of the Icon property based on a timer. -- Bob Powell [MVP] Visual C#, System.Drawing Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
Physically change the contents of the Icon property based on a timer. -- Bob Powell [MVP] Visual C#, System.Drawing Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
B Bob Powell [MVP] Oct 20, 2004 #4 notifyIcon1.Icon=new Icon(......); You can set the icon to null to hide it and then set it to a valid icon to display it. -- Bob Powell [MVP] Visual C#, System.Drawing Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
notifyIcon1.Icon=new Icon(......); You can set the icon to null to hide it and then set it to a valid icon to display it. -- Bob Powell [MVP] Visual C#, System.Drawing Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
W Wes Oct 20, 2004 #5 Hello Bob Powell [MVP], I would suggest that you not set the icon to null but instead set it to a blank icon so that it acts like a place holder in the system tray. HTH Wes Haggard http://weblogs.asp.net/whaggard/
Hello Bob Powell [MVP], I would suggest that you not set the icon to null but instead set it to a blank icon so that it acts like a place holder in the system tray. HTH Wes Haggard http://weblogs.asp.net/whaggard/
B Bob Powell [MVP] Oct 20, 2004 #6 Yep, that works too. -- Bob Powell [MVP] Visual C#, System.Drawing Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml Wes said: Hello Bob Powell [MVP], I would suggest that you not set the icon to null but instead set it to a Click to expand... blank icon so that it acts like a place holder in the system tray.
Yep, that works too. -- Bob Powell [MVP] Visual C#, System.Drawing Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml Wes said: Hello Bob Powell [MVP], I would suggest that you not set the icon to null but instead set it to a Click to expand... blank icon so that it acts like a place holder in the system tray.