From: Nobody on
"Ed" <nospam(a)hotmail.com> wrote in message
news:9eed361ujqvjf56k9tgcabpnmnbr6t8ko4(a)4ax.com...
> VB6 / Windows XP / Tray icon issue:
>
> If a user closes Explorer.exe (or they need to restart it because of an
> error) when Explorer restarts the tray icon for
> my program is no longer seen.
>
> Is there a windows message I can watch for so my app can re-add its tray
> icon when explorer is restarted?

Search for WM_TASKBARCREATED.