= Warn =
== Syntax == :Warn(string promptString, ...) == Arguments == :promptString ::Specifies the prompt string for the warning 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 or IDCANCEL depending on which button the user clicks. == Description == :This function displays a warning box containing a text string, an OK button and a Cancel button. == Example == <code> Warn( "This might take a while..." ); Warn( "Your image is not a square" ); if ( Warn( "This might take a while..." ) == IDOK ) //apply the following filter code... </code> == Also see == == Comments == :Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too. |