Constants.vbMsgBoxSetForeground Field


Indicates that the message box will display in the foreground when the MsgBox function is called.

public: Microsoft::VisualBasic::MsgBoxStyle vbMsgBoxSetForeground = 65536;
public const Microsoft.VisualBasic.MsgBoxStyle vbMsgBoxSetForeground = 65536;
val mutable vbMsgBoxSetForeground : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbMsgBoxSetForeground As MsgBoxStyle  = 65536

Field Value


When you call the MsgBox function, you can use the MsgBoxStyle enumeration in your code in place of the actual values. The Buttons argument takes the MsgBoxStyle enumeration members.

Applies to

See also