I'm trying to create an application with Windows 7 Notification Area Flyouts, like the volume, power and wireless icons built in to Windows 7.
I haven't been able to find any information though on .NET APIs to implement this. Is there a built-in way to create notification area flyouts? If not, is there any other way to implement this functionality?
Method 1: Manage icons by drag-and-drop Hide an icon: Drag the icon in the notification area, and then drop it anywhere outside the taskbar. Show an icon: Click the arrow to show the overflow section, drag the icon that you want to the notification area on the right side of the taskbar.
If you are running Windows 7, follow these additional steps: Click Start. , type Customize icons and then click Customize icons on the task bar. Click Turn system icons on or off, and then set Volume, Network, and Power System to On.
The notification area (also called the "system tray") is located in the Windows Taskbar, usually at the bottom right corner. It contains miniature icons for easy access to system functions such as antivirus settings, printer, modem, sound volume, battery status, and more.
To change how icons and notifications appearPress and hold or right-click any empty space on the taskbar and select Taskbar settings. Under Taskbar corner icons: Select On for any icons you want to see on the taskbar. Select Off for any icons you don't want to see on the taskbar.
There isn't anything special about them, just a plain window (Form) without a title bar. ControlBox = false and Text = "" in winforms. The only things you have to do is set its Location property so it shows up above the notification area. And implement the Deactivate event to close it.
I answered a similar question here:
Create a System-tray styled box in Winforms (C#)
Configure a few properties as mentioned there will get you a window that looks like this, which you can fill with your own controls. From here you'll need a small panel docked to the bottom of the window, a few links to put in it, and whatever other controls you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With