View Single Post
Old 02-03-2004, 06:35 PM  
lmao2k
Junior Member
 
Join Date: Jan 2004
Posts: 7
Default tray icon disappearing when explorer crashes

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.
lmao2k is offline   Reply With Quote