Would it be possible to create a modal dialog box with DialogBox(Param) that blocks all other top-level windows in its owner thread, similar message boxes created with the MB_TASKMODAL flag?
The usage scenario involves an application UI that consists of multiple top-level windows (primarily modeless dialogs).
I don’t know if there’s an API to do this, but you can do it yourself.
Call EnumThreadWindows to enumerate the top-level windows associated with your thread. In your callback function call EnableWindow to disable the window (before showing the dialog) or enable it (after the dialog has closed).