Dear JS-Suppor,
Is there any built in dialogue box to achive the User Confirmation: Ok or Cancel ?
(We checked the your actual MessageBox implementation, but unfortunately it is void / no return value and no other buttons, only 'Ok'.)
We need something like that (sample pseudo code in WPF ):
var userDecisionResult = MessageBox.Show("Are you sure to want to be continued ?", "Confirmation needed !", MessageBoxButton.OKCancel);
if (userDecisionResult == MessageBoxResult.OK)
{ //do something
}
else if (userDecisionResult == MessageBoxResult.Cancel)
{//do something else
return;
}
Thanks,
br,
Péter