Minimize Mainframe in SDI
-
i want to minimize the application Mainframe window, and want to show the other dialogs which are opened from the application? from following code it is minimizing everything AfxGetMainWnd()->ShowWindow(SW_MINIMIZE);
-
i want to minimize the application Mainframe window, and want to show the other dialogs which are opened from the application? from following code it is minimizing everything AfxGetMainWnd()->ShowWindow(SW_MINIMIZE);
Why do you have to minimize the mainframe window? If you want the newly opened dialog to have focus until it is dismissed, then just use a modal dialog. See CDialog::DoModal()[^]
It is a crappy thing, but it's life -^ Carlo Pallini
-
You're attempting to make a modeless dialog behave like a modal dialog. Why not just use a modal dialog instead?!
It is a crappy thing, but it's life -^ Carlo Pallini
-
Why do you have to minimize the mainframe window? If you want the newly opened dialog to have focus until it is dismissed, then just use a modal dialog. See CDialog::DoModal()[^]
It is a crappy thing, but it's life -^ Carlo Pallini
The dialog should be visible thru entire application and should not minimize at any time. Dialog should not be modal why because my control should not restrict to dialog. Dialog should be accessible and my mainframe views should be accessible, based on the control from the dialog mainframe views will replaced with the reqd content.
-
The dialog should be visible thru entire application and should not minimize at any time. Dialog should not be modal why because my control should not restrict to dialog. Dialog should be accessible and my mainframe views should be accessible, based on the control from the dialog mainframe views will replaced with the reqd content.