Hello,
I was wondering how DC++ knows when to redisplay the tray icon in the event of an explorer crash? The only way I have heard of is to constantly redisplay the icon at set intervals. How did DC++ manage to fix this problem? I noticed you guys fixed it in version 0.174. Is there a way to detect if explorer crashes?
Thanks,
docbrazen
How does tray icon redisplay after explorer crash?
Moderator: Moderators
in MainFrm it looks like this:
a google query for "RegisterWindowMessage(\"TaskbarCreated\")" turned up:
http://www.valhallalegends.com/docs/systemtrayicon.htm
Code: Select all
trayMessage = RegisterWindowMessage("TaskbarCreated");
Code: Select all
MESSAGE_HANDLER(trayMessage, onTray)
Code: Select all
LRESULT onTray(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) {
updateTray(true);
return 0;
};
http://www.valhallalegends.com/docs/systemtrayicon.htm
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)