couldn't you just bring the desired window to the front?

using frmMyForm.SetFocus