Displays a message box and returns a number that indicates the user's response. You can customize the message box push buttons and icons.

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static SalNumber MessageBox(
	Control owner,
	SalString sText,
	SalString sTitle,
	SalNumber nFlags
)

Parameters

owner
Type: System.Windows.Forms..::..Control
The owner of the message box.
sText
Type: PPJ.Runtime..::..SalString
The message text.
sTitle
Type: PPJ.Runtime..::..SalString
The message box title.
nFlags
Type: PPJ.Runtime..::..SalNumber
The message box style. Combine the MB_* options using the OR (|) operator.

Return Value

nResult

See Also