You could use SetFocus if you want a specific window to be active.