none
2012-06-19 04:52:20 UTC
Hi all,
I have an MFC app with a main window and a bunch of modeless tool windows.
If any of these windows (the main window or any tool window) displays a
MessageBox(), only that one window is "frozen" while the dialog is open.
So, the user can just ignore the error message and click in other windows.
Is there a way to freeze all windows except for the message box, regardless
of which window actually launched the modal dialog?
I've tried all the combinations of MB_APPMODAL, MB_TASKMODAL, etc, and none
of them changed anything. And, anyway, I need something that works for any
dialog, not just a MessageBox() dialog.
Thanks.
I have an MFC app with a main window and a bunch of modeless tool windows.
If any of these windows (the main window or any tool window) displays a
MessageBox(), only that one window is "frozen" while the dialog is open.
So, the user can just ignore the error message and click in other windows.
Is there a way to freeze all windows except for the message box, regardless
of which window actually launched the modal dialog?
I've tried all the combinations of MB_APPMODAL, MB_TASKMODAL, etc, and none
of them changed anything. And, anyway, I need something that works for any
dialog, not just a MessageBox() dialog.
Thanks.