WinFocusMonScreenshot
WinFocusMon (WFM) is a diagnostic utility used to monitor a specified window and determine why it loses input focus unexpectedly. WFM can notify the user when the state of the monitored window changes, as well as create a report with greater detail about the event.

