Hello,
Mozilla Thunderbird has a TrayIcon when new Mails are received. Is there a way to be notified when this happens?
I know i can do this with a timer, but this is less performant isn't it?
Notify, when Icon appears.
Notification is possible, but only by hooking into tray icon stuff. You might be able to do that by subclassing the SysTray window. The easier solution would be to use madCodeHook to hook the Shell_NotifyIcon API. However, this all might be overkill. Polling the tray icons every few seconds seems to be the ugly but cheap way to solve the problem.