R3GetChoice

FUNCTION:

R3GetChoice

TEMPLATE:

int R3GetChoice(char *choices, char *fmt, ...)

PARAMETERS:

choices - string defining buttons for the dialog

RETURN VALUE:

Ordnum corresponding the selected button

DESCRIPTION:

Opens a dialog with given buttons and text. Buttons are defined using '|' as a separator.

EXAMPLE:
 rc = R3GetChoice("Yes|No|I don't know", "Are you sure mr %s", person);

 switch(rc)
 {
 case 0: /* yes */
 ...
 case 1: /* no */
 ...
 case 2: /* i don't know */

 }