VIDEO_OA_openMessageInfoAnswer()
This function opens a dialog and you can adjust the message individually.
Synopsis
void VIDEO_OA_openMessageInfoAnswer(string sMessage1, int iMode, int
&iAnswer);
Parameters
Parameter | Description |
---|---|
sMessage1 | Text shown in the dialog. |
iMode |
Answer mode: 1=Yes/No 0=Ok/Cancel Note: If you pass another value than 1 or 2, the buttons will not be labelled. |
&iAnswer |
Answer: 0 = Left button clicked. 1= Right button clicked. 3= Dialog was closed by clicking X. |
Return Value
None.
Errors
None.
Description
This function opens a dialog and you can adjust the message individually.
EXAMPLE
The following example opens this window:
main()
{
int iAnswer;
VIDEO_OA_openMessageInfoAnswer("yes or no?", 1, iAnswer);
DebugN(iAnswer);
}
Assignment
Video functions.
Availability
UI, CTRL