prompt_list

This macro displays a dialog containing message text and a list of choices.

Syntax:

int prompt_list (message, buff)
char *
message;
char *buff
;

where:

message              The message text that appears at the top of the dialog.

buff                      Initially, the list of choices that appear for selection in the dialog, separated by \n.

Return Value

int                        One of the following:

                             0 = Cancel
n = index number of the chosen list item. The first item in the list has an index of 1.