title: Triggering an event whenever a new window is focused?
body: <p>I am writing an application using C# and WPF. Is there some way that my app can be notified whenever GetActiveWindow changes, or am I stuck with making a thread and monitoring the changes myself?</p>