ErrorOk
Syntax
- int ErrorOk(string promptString, ...)
Arguments
- promptString
- Specifies the prompt string for the error message window. This string may contain printf-style format descriptors, which will be expanded using the succeeding arguments.
- ...
- Variable number of arguments of varying types, should correspond to the format descriptors in promptString.
Return
- IDOK once the user has clicked the Ok button.
Description
- This function displays an error box containing a text string, and an OK button. Clicking the OK button returns the value IDOK.
Example
ErrorOk ( "Image is too small." );
Also see
- Error, msgBox
Comments
- Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.