WPF : why doesnt messagebox have icon on titlebar
问题 All I want is that my messagebox should show my application's icon (or any other icon) in its titlebar, but it doesnt, why not? 回答1: The MessageBox in WPF is simply a wrapper for the standard MessageBox in user32.dll, which is exactly the same function that Windows itself calls to display a dialog box. It's not going to look any different in your WPF applications than it does in any other app that relies on the Win32 API (including WinForms, MFC, etc.). Using Reflector, you can verify this by