This was probably answered before, but, there are just to many threads concerning tray icon issues to look through one by one and i can't seem to find it.

I'm creating a tray icon with Shell_NotifyIcon API. When Explorer (Explorer.exe) crashes it disappears. When it comes back to life it doesn't repaint it. What would be the best approach to solve this?

Thank you!