Windows Forms and mmMessageBox
You can access a global instance of mmMessageBox from anywhere within your Windows Forms applications by referencing the static property: mmAppDesktop.MessageBox.
If you have localization turned on, by default mmMessageBox will display the message in the application's current language. If you call one of the overloads of mmMessageBox.Show() that accepts a languagePK parameter, the specified language will be used instead.
Example
Here's an example of how to use the mmAppDesktop.MessageBox.Show method:
In C#:
mmAppDesktop.MessageBox.Show("MyMessageToken",
"MyCaptionToken",
MessageBoxButtons.AbortRetryIgnore,
MessageBoxIcon.Asterisk,
MessageBoxDefaultButton.Button2);And in VB .NET:
mmAppDesktop.MessageBox.Show("MyMessageToken", _
"MyCaptionToken", _
MessageBoxButtons.AbortRetryIgnore, _
MessageBoxIcon.Asterisk, _
MessageBoxDefaultButton.Button2)
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 06/20/08
Comment or report problem with topic
