|work| - Shell_notifyicongetrect

If you have ever built a Windows application that uses a system tray icon (Notify Icon), you are familiar with Shell_NotifyIcon . It is the workhorse for adding, modifying, or deleting icons in the notification area (systray).

However, for years, there was a glaring gap in the API: shell_notifyicongetrect

Beyond the Balloon: Using Shell_NotifyIconGetRect to Find Your Notify Icon’s Exact Screen Location If you have ever built a Windows application

shell_notifyicongetrect