> I have a CFileDialog that is displayed with a DoModal() call.  Since it is
a modal > window, the application waits on it to be dismissed before
allowing user input in > other windows.
> CFileDialog dlg(TRUE, ".hdr", NULL, OFN_FILEMUSTEXIST | OFN_READONLY);

I noticed that you haven't given the dialog box a parent window. AFAIK
windows will ensure that a dialog box is created above its parent in the
z-order, but without a parent window I'm suspecting that the dialog with
have to take its chances along with all other top-level windows on which one
is top-most in the z-order. Try specifying the CWnd* of your main
application window and see if that helps.

Daniel



_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to