This simple utility class can be used to display a simple message to the user. The utility displays the message, and then waits for the user to enter to press Yes, No, or Cancel.
The vYNReplyDialog constructor requires a pointer to a vBaseWindow, which includes all V windows and dialogs, or a pointer to the vApp object. You will usually pass the this to the constructor.
The following is a simple example of using vYNReplyDialog.
#include <v/vynreply.h>
...
vYNReplyDialog ynd(this); // instantiate a notice
int ans = ynd.AskYN("Exit. Are you sure?);
if (ans == 1)
exit(0);