CODE :
DialogButton diagBut;
str strMessage = "Do you want to continue";
str strTitle = "Title";
diagBut = Box::yesNoCancel(
strMessage,
DialogButton::No, // Initial focus is on the No button.
strTitle);
if (diagBut == DialogButton::No)
{
info("Operation stoped.");
}
else if(diagBut == DialogButton::Yes)
{
Info("Clicked yes");
}
else
{
Info("canceled");
}