This simple utility class can be used to obtain a text reply from the user. The utility displays a message, and then waits for the user to enter a reply into the reply field. The user completes the operation by pressing OK or Cancel.
The vReplyDialog 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 vReplyDialog.
#include <v/vreply.h>
...
vReplyDialog rp(this); // instantiate
char r[100]; // a buffer for reply
(void)rp.Reply("Please enter some text.",r,99);
vNoticeDialog note(this); // instantiate a notice
if (*r)
(void)note.Notice(r);
else
(void)note.Notice("No text input.");