Windows 7-style Notification Area Applications in WPF: Part 3 (Taskbar Position)

View source on GitHub. In the previous post in this series, I showed how to find the location of a notify icon by implementing the new Windows 7 Shell32.dll function Shell_NotifyIconGetRect in managed code for use with the System.Windows.Forms.NotifyIcon class. In this post, I will look at how to accurately position a window above (or… Continue reading Windows 7-style Notification Area Applications in WPF: Part 3 (Taskbar Position)

Windows 7-style Notification Area Applications in WPF: Part 2 (Notify Icon Position)

View source on GitHub. You may have noticed that the notification area applications in Windows 7 (Volume/Power/Network/Action Centre) appear centred above their icon. I wanted Keiki to do the same; the current version is hardcoded to sit in the bottom right of the screen, which causes a few problems: The taskbar position is not taken… Continue reading Windows 7-style Notification Area Applications in WPF: Part 2 (Notify Icon Position)

Windows 7-style Notification Area Applications in WPF: Part 1 (Removing Resize)

View source on GitHub. Keiki, my OptusNet Usage Meter, is designed to sit in the notification area (or system tray, if you prefer) and behave similarly to the default system ‘applets’ (Volume/Network/Action Centre/Power). That is, the application becomes visible with a single left click on the notify (tray) icon, and is hidden again when focus… Continue reading Windows 7-style Notification Area Applications in WPF: Part 1 (Removing Resize)