void CTrayDialog::RestoreWindow() { ShowWindow(SW_SHOW); SetForegroundWindow(); //the fix }
Page 1 of 1
Restore From Tray Always To Foreground
#1
Posted 20 February 2013 - 03:27 PM
Sometimes when I click on tray icon, eMule "jumps" from tray to explorer's taskbar, but the window is somewhere in background. A rare case, but still annoying. Here is one line fix in TrayDialog.cpp:
Page 1 of 1