/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h
Called when the application is activated (i.e. one of its windows becomes active) or deactivated.
void ProcessApplicationActivationEvent ( bool InAppActivated )