title: Is there any way to make SHFileOperation modal?
body: <p>I have an MDI based frame app that is calling SHFileOperation, something like this:</p>
  
  <pre><code>SHFILEOPSTRUCT opDelFiles = {0};
  opDelFiles.hwnd = AfxGetMainWnd()-&gt;GetSafeHwnd();
  opDelFiles.wFunc = FO_DELETE;
  opDelFiles.pFrom = (LPCTSTR)fileData;
  opDelFiles.fFlags = FOF_ALLOWUNDO; 
  
  SHFileOperation( &amp;opDelFiles );
  </code></pre>
  
  <p>If SHFileOperation displays a dialog to the user (e.g. "Are you sure?") although the dialog remains on top of the frame the user can still interact with the frame, ie the shell dialog is passing Window messages to the frame. Is there anyway to prevent this and make the shell dialog behave like a modal dialog?</p>