diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-01-09 22:22:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-01-09 22:22:54 (GMT) |
commit | c213a8bcd8b90ca3298f9a1905338c06f9961a66 (patch) | |
tree | 8512cc6a9f59aa5af4b32427eb4912fa5d7e9e32 /Source/MFCDialog | |
parent | ddc6117574e1072600cc8f6fd4303f538cddba27 (diff) | |
download | CMake-c213a8bcd8b90ca3298f9a1905338c06f9961a66.zip CMake-c213a8bcd8b90ca3298f9a1905338c06f9961a66.tar.gz CMake-c213a8bcd8b90ca3298f9a1905338c06f9961a66.tar.bz2 |
make it a modal dialog
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index cb76c74..2774b2b 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; } |