The IDLitIMessaging::PromptUserYesNo function method is used to prompt the user with a yes or no question and return an answer.
The actual method used to prompt the user depends on the user interface in use. Normally, the prompt is displayed as a modal dialog.
Result = Obj->[IDLitIMessaging::PromptUserYesNo(StrPrompt, Answer [, TITLE=string])
Returns 1 if the dialog executed properly and returned a value in the variable specified. You must check the value stored in the variable specified as the Answer argument to determine which button the user pressed.
A scalar string or string array containing a prompt for the user to respond to.
A named variable that will contain 1 if the user answered Yes to the prompt and 0 if the user answered No.
Set this keyword to the title that should be displayed as part of the prompt. In most cases, this value is placed in the title bar of the modal dialog.