Home > DeveloperSection > Interviews > Explain modal dialog box ?

Posted on    March-28-2011 7:43 AM

 Visual C++
Ratings:
 1 Answer(s)
  1244  View(s)
Rate this:

Mahesh Rawat
Mahesh Rawat

Total Post:138

Points:690
Posted on    March-28-2011 12:00 AM

A modal dialog box is popped up over the parent dialog( from which it is envoked) it never allows user to go back to parent (calling) dialog box and work until the popped up dialog box is not exited.
Madal dilog box can be displayed as follows.

Ex
. class MyDlg; // Class derived from CDialog.
MyDlg myDlg; // create an object
myDlg.DoModal();

Don't want to miss updates? Please click the below button!

Follow MindStick