Sys Tray Icon disappears after Explorer reload
-
Intro: I have a simple VB application that lives in the sys tray. It basically allows me to right click and select from a list of projects I am currently working on so that I accurately keep track of what time I spend on the job and what I spend reading CodeProject. ;) Problem: Whne explorer.exe is reloaded (i.e. because IE/windows explorer hung and needed to be killed) The icon for my application does not get reloaded into the systray. How can I solve this? TIA
-
Intro: I have a simple VB application that lives in the sys tray. It basically allows me to right click and select from a list of projects I am currently working on so that I accurately keep track of what time I spend on the job and what I spend reading CodeProject. ;) Problem: Whne explorer.exe is reloaded (i.e. because IE/windows explorer hung and needed to be killed) The icon for my application does not get reloaded into the systray. How can I solve this? TIA
> have a simple VB application that lives in the sys tray. What any of this have to do with WTL/ATL/STL.... [rant start] VB is brain dead, defective framework, designed for masses, who can not spend couple of month learning something better. [rant end] Anyway you need to m_mTaskbarRestart = RegisterWindowMessage(_T("TaskbarCreated")); and when you got it recreate your icon. Two lines in C++, but I have no clue about VB. Brian