How to detect when in TASK MANAGER, the user clicks in "Switch To" in my Application

I need to detect this! It is no OnRestore, is something else that did happens!

Somebody have some ideia?

Thanks!