scripting:api:application:confirm

confirm

Method of IApplication

Displays a message in a simple dialog box with the OK button and the Cancel button

var pvbAnswer = Application.confirm(strMessage);

==== Visual Basic Script ====

pvbAnswer = Application.confirm strMessage

==== C++ ====

VARIANT_BOOL pvbAnswer;
HRESULT hr = Application.confirm(strMessage, &pvbAnswer);

===== See Also ===== IApplication