Creating the question dialog (VtQuestionDialog)
The long command in this example:
-
creates a question dialog, with
VtQuestionDialog(1vtcl).
The parent of the dialog is $mainform.
-
displays the message ``Are you sure you want to
kill this process?'' with the -message
option.
-
displays only the OK and Cancel
buttons by using the -ok and -cancel
options.
-
assigns the KillFormOkCB callback to the
OK button.
Because no action is to take place when
the user presses Cancel, no
callback is specified for that button.
Use backslashes (\) to separate
a single command line onto several lines.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004