Official eMule-Board: Restore From Tray Always To Foreground - Official eMule-Board

Jump to content


Page 1 of 1

Restore From Tray Always To Foreground

#1 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4473
  • Joined: 13-May 07

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:
void CTrayDialog::RestoreWindow()
{
	ShowWindow(SW_SHOW);
	SetForegroundWindow(); //the fix
}

0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users