PDA

View Full Version : [Gone] tray icon disappearing when explorer crashes


lmao2k
02-03-2004, 06:35 PM
If ioftpd is running and explorer crashes then restarts the icon for ioftpd doesn't re-appear. If i remember correctly u have to include some code that repsonds to windows asking the app if there is a tray icon. Something like :

DWORD WM_TASKBARCREATED = RegisterWindowMessage("TaskbarCreated");

Add that (WM_TASKBARCREATED) to your forms message loop.

You can reproduce this bug by terminating explorer.exe and then running it again.

Zer0Racer
02-03-2004, 06:40 PM
How iivil. So kiddies can actually hide the tray icon in unregistered version with this little hack.

This does not apply to registered version that doesn't have a tray icon anymore.

lmao2k
02-03-2004, 06:57 PM
I found quite a few progs that had/have this bug. It can be damn annoying when explorer randomly decides to crash on you.

I guess if some kiddies wanted to abuse this bug they could. How comes there isn't an icon on the registered one?

Zer0Racer
02-03-2004, 07:16 PM
I would say it's more a windows bug than any other apps fault. If explorer crashes it should be able to remember and recreate last state for all apps.

ioFTPD will soon be native service. It's a daemon. No icon needed.

Mouton
02-03-2004, 07:27 PM
latest u version, 5.6.3u, alost doesn't have any systray icon.

darkone
02-03-2004, 11:37 PM
Yep, trayicon is gone for good.