title: Foreground Vs Active window
body: <p>In Windows, what is the difference between foreground and active window?  To be specific, under what circumstances can a foreground window not be an active window?  If the 2 terms are referring to the same concept why there're 2 terms.</p>
  <p>The msdn documentation here mentions &quot;clicking a window, or by using the <kbd>ALT</kbd>+<kbd>TAB</kbd> or <kbd>ALT</kbd>+<kbd>ESC</kbd> key combination&quot; makes a window active as well as foreground.  There is nothing explicitly about the difference between the 2 terms.Check <a href="http://msdn.microsoft.com/en-us/library/ms632599%28VS.85%29.aspx#foreground" rel="noreferrer">MSDN</a>.</p>