Help~!! how to set a dialog to be modal dialog???
-
how to set a dialog to be modal dialog??? i want to set a pop up dialog to be modal dialog, can i set it by code?
-
how to set a dialog to be modal dialog??? i want to set a pop up dialog to be modal dialog, can i set it by code?
-
just create and object of that dialog and call DoModal function. eg: CMydialog MyDlg; MyDlg.DoModal();
nave
But i can't. because i create the dialog by pointer CMydialog* MyDlg; And i use this->MyDlg->ShowWindow(SW_SHOW); to show the window... But it is not modal window... I want to set it to be model window... how can i do it? Thx:)
-
how to set a dialog to be modal dialog??? i want to set a pop up dialog to be modal dialog, can i set it by code?
-
But i can't. because i create the dialog by pointer CMydialog* MyDlg; And i use this->MyDlg->ShowWindow(SW_SHOW); to show the window... But it is not modal window... I want to set it to be model window... how can i do it? Thx
-
But i can't. because i create the dialog by pointer CMydialog* MyDlg; And i use this->MyDlg->ShowWindow(SW_SHOW); to show the window... But it is not modal window... I want to set it to be model window... how can i do it? Thx:)
-
But i can't. because i create the dialog by pointer CMydialog* MyDlg; And i use this->MyDlg->ShowWindow(SW_SHOW); to show the window... But it is not modal window... I want to set it to be model window... how can i do it? Thx
Did you get your answer with Naveen R answer
_**
**_
WhiteSky