Constants.vbMsgBoxSetForeground Field
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Indicates that the message box will display in the foreground when the MsgBox function is called.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Field Value
Type: Microsoft.VisualBasic.MsgBoxStyleWhen 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.
.NET Framework
Available since 1.1
Available since 1.1
Show: