From c213a8bcd8b90ca3298f9a1905338c06f9961a66 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 9 Jan 2002 17:22:54 -0500 Subject: [PATCH] make it a modal dialog --- Source/MFCDialog/CMakeSetupDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index cb76c7401..2774b2b22 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -67,7 +67,7 @@ void MFCMessageCallback(const char* m, const char* title, bool& nomore) std::string message = m; message += "\n\n(Press Cancel to suppress any further messages.)"; if(::MessageBox(0, message.c_str(), title, - MB_OKCANCEL) == IDCANCEL) + MB_OKCANCEL|MB_TASKMODAL) == IDCANCEL) { nomore = true; }