ebDefaultButton2 (constant)

Description

Used with the MsgBox statement and function.

Comments

This constant is equal to 256.

Example

This example invokes MsgBox with the focus on the Cancel button by default.

Sub Main()
  rc% = MsgBox("Are you sure you want to quit?",ebOKCancel Or  ebDefaultButton2)
End Sub

See Also

MsgBox (function); MsgBox (statement).

More information

E