Mike
April 2nd, 1999, 09:10 AM
When my program starts, it is supposed to have a modeless dialog box displayed ontop of the main application window. However, when the program starts this is not what happens.
First, the dialog box appears as I would expect, but then the Dialog box is covered up by the main application's window.
My dialog box is a member of the CMainFrame class, and I attempt to display the dialog at the very end of the CMainFrame::OnCreate function. Doing this works with MDI applications, but not with SDI applications for some reason.
Any help would be appriciated.
Mike.
First, the dialog box appears as I would expect, but then the Dialog box is covered up by the main application's window.
My dialog box is a member of the CMainFrame class, and I attempt to display the dialog at the very end of the CMainFrame::OnCreate function. Doing this works with MDI applications, but not with SDI applications for some reason.
Any help would be appriciated.
Mike.