Usa le API FindWindow o FindWindowEx per trovare la finestra che ti serve.