title: How the Window.Activated event is triggerred?
body: <p>I am using a wpf application where application sturcture is like </p>
  
  <ol>
  <li>Exe1 launches Exe2 using WaitForExit method.</li>
  <li>Then Exe2's main Window1 launches Window2 with a owner window of Window1.</li>
  <li>And finally Window1 launches a new external Exe3 using System.Diagnostics.Process.</li>
  </ol>
  
  <p>Normally when i close an Exe3, Windows2 is getting activated which is an ideal case.<br>
  But at some cases when i close External Exe3, Exe1  is getting activated. So the Exe2 is going backward which is an issue.      </p>
  
  <p>Kindly provide your inputs why the Exe1 is stealing the focus.<br>
  Thanks in advance for your valuable answers.</p>