Windows Presentation Foundation and mmMessageBox
You can access a global instance of mmMessageBox from anywhere within your WPF applications by referencing the static property: mmAppWPF.MessageBox and calling one of the overloads of its Show() method.
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 Window parameter, the Window's CurrentLanguage (which may or may not be different than the application's current language) will be used.
Example
Here's an example of how to use the mmAppDesktop.MessageBox.Show method:
In C#:
mmAppWPF.MessageBox.Show("MyMessageToken",
"MyCaptionToken",
MessageBoxButton.OK,
MessageBoxImage.Information;And in VB .NET:
mmAppDesktop.MessageBox.Show("MyMessageToken", _
"MyCaptionToken", _
MessageBoxButton.OK, _
MessageBoxImage.Information)
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 05/20/10
Comment or report problem with topic
