Relative Content

Tag Archive for excelwpfvstomessageboxtopmost

TopMost WPF style MessageBox

In my VSTO Excel Addin application I wish to show a Systems.Window.MessageBox as TopMost window when the user attempt to close any opened workbook – just like Excel does if you try to close a workbook while the “Move or Copy…” small window is displayed. It would be simpler to use Systems.Window.Forms.MessageBox however I wish to keep the “WPF style” of the Systems.Window.MessageBox.