Restore tray icon after Explorer restarts

  • Follow


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?

Thanks,
Ed
0
Reply Ed 7/9/2010 5:56:27 AM

"Ed" <nospam@hotmail.com> wrote in message 
news:9eed361ujqvjf56k9tgcabpnmnbr6t8ko4@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.


0
Reply Nobody 7/9/2010 6:30:31 AM


On Fri, 9 Jul 2010 02:30:31 -0400, "Nobody" <nobody@nobody.com> wrote:

>
>Search for WM_TASKBARCREATED.
>

Wow it works! :)

Thank you very much!

Cheers,
Ed 
0
Reply Ed 7/9/2010 7:31:39 AM

2 Replies
566 Views

(page loaded in 0.117 seconds)

Similiar Articles:
















7/20/2012 5:02:14 PM


Reply: