runJavaScriptPrompt()

Displays a JavaScript prompt on the screen.

Synopsis:

#include <GfWindow.h>

virtual bool runJavaScriptPrompt( const char* message,
                                  const char* value,
                                  char **result )

Description:

Displays a JavaScript prompt on the screen, given a message and a value.

Arguments:

message
The message to display at the prompt.
value
The value to display at the prompt.
result
A pointer to the inputted text that the user entered at the prompt.

Returns:

Returns True if the user clicks Yes, otherwise False.

See also:

runJavaScriptAlert(), runJavaScriptConfirm()