MrDave's (David Yack) WebLog

Vote on this Whidbey Bug: How to create a Tray Icon (NotifyIcon) with WinForms 2.0

Help Scott get this bug into Whidbey! This is one I ran into late last year as well.  I put my vote in….Did you? Help us all out and vote to get this omission fixed in Whidbey.

 [ComputerZen.com - Scott Hanselman's Weblog]

Whatisplaying1While Tray Icons (and applications that use ONLY TrayIcons as their UI) are a major part of our lives, there's limited support in WinForms (2.0) for them without resorting to P/Invoke and vestigial MainForms who only call this.Hide().

NotifyIcon should be extended to support BalloonHelp. Hans Blomme's now-famous extended version of NotifyIcon is the canonical example. It still works under 2.0, but the 2.0 addition of the ContextMenuStrip makes it a little tricky. His free stuff could be integrated into the 2.0 NotifyIcon easily, adding a powerful (and missing) feature to 2.0 WinForms. Additionally, there should be a way for a Form to startup hidden to avoid the flash of the form before it calls this.Hide(), deferring to it's NotifyIcon.

Help us all out and vote to get this omission fixed in Whidbey.



 

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)