prompt_yesno

This macro displays a dialog containing question text and two buttons (Yes and No) for the user reply.

Syntax:

int prompt_yesno (message)
char *
message

where:

message            The text that you want to appear as a question on the dialog.

Return Value

int                      0 = Yes

                         2 = No

Rules

None.