make it a modal dialog

This commit is contained in:
Bill Hoffman 2002-01-09 17:22:54 -05:00
parent ddc6117574
commit c213a8bcd8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}