The SetFocus function sets the keyboard focus to the specified window
SetFocus( $hwnd );
Handle of a window to receive focus