Older Newer
Sat, 09 Nov 2019 04:03:34 . . . . SyneRyder [Add additional See Also links]


Changes by last author:

Added:
= YesNo =

== Syntax ==

int YesNo(string promptString, ...)

== Arguments ==

:promptString

::Specifies the prompt string for the Yes/No 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 ==

IDYES or IDNO depending on which button the user clicks.

== Description ==

This function displays a message box containing a text string, a YES and a NO button.

== Example ==

<code>

YesNo( "Will you marry me?" );

if ( YesNo( "Will you marry me?" ) == IDYES)

Info( "Congratulations!");

else

Info( "Maybe later..." );

</code>

== See Also ==

Info, msgBox, Warn, YesNoCancel