ConfirmPopup

int ConfirmPopup (char title[], char message[]);

Purpose

Displays a prompt message in a dialog box and waits for the user to select the Yes or No button.

Parameters

Input
Name Type Description
title string Title of the dialog box.
message string Message to display in the dialog box.

To display a multi-line message, embed newline characters (\n) in the message string.

Return Value

Name Type Description
responseValue integer The user response.

1 User selected Yes.
0 User selected No.

If the value is negative, an error occurred.