> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Daniel Robinson > Sent: Tuesday, October 05, 2004 4:34 PM > To: [EMAIL PROTECTED] > Subject: RE: [msvc] CFileDialog > > 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
I gave my CFileDialog a parent window of AfxGetMainWnd(), and it still shows up below the other windows. I also notice that windows from AfxMessageBox() are showing up below other windows, too. Something's hosed here. _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
