ebOKCancel (constant)

Description

Used with the MsgBox statement and function.

Comments

This constant is equal to 1.

Example

This example displays a dialog box that allows the user to cancel.

Sub Main()
  rc% = MsgBox("Are you sure you want to exit Windows?",ebOKCancel)
  If rc% = ebOK Then System.Exit
End Sub

See Also

MsgBox (function); MsgBox (statement).

More information

E