Exiting the Application at a Remote Device Situation

Situation

Dialog window with the text "Your partner surrendered.\nYou WIN!" must appear if the partner exited the game.

Dialog Text

"Your partner surrendered.\nYou WIN!" (str_Partner_surrender)

Button

<Quit>    (mbQuit)
<Cancel> (mbCancel)

Responses to the buttons

<Quit>
- Exit to the Select Partner menu, if the application was started via the Select Partner menu.
- Exit to root if the application was started via an invitation of a remote user.
<Cancel>
- The field of the game is displayed if the game began. However, the game cannot be continued. Then the application is exited via the standard dialog of the exit.

Responses to the cancellation via <Esc>

Duplicates the response to the <Cancel> button.