Can an Add-in Display a Window or Dialog Box?

Home Page (Add-ins)OverviewHow Do I ... TopicsFAQReference

Yes, an add-in can display a window or dialog box; however, the window or dialog box must be modal. Modeless windows or dialog boxes are not allowed because the add-in cannot have its own message pump.

Before displaying your modal windows or dialog boxes, call EnableModeless(FALSE) to disable modeless Visual C++ windows so that the add-in can display its modal windows or dialog boxes on top. When the add-in's modal windows are dismissed, call EnableModeless(TRUE) to reenable the modeless windows.