Browse Source

make it a modal dialog

Bill Hoffman 24 years ago
parent
commit
c213a8bcd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 1 - 1
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;
     }