15.1 Dialog Boxes

The Microsoft Foundation Class Library provides support for dialog box windows with the window classes CDialog and CModalDialog. For simple modal dialogs, you can sometimes use the CModalDialog class directly, such as when creating an “About” dialog box, but most often you will have to derive your own dialog classes in much the same way as described in “Creating a Frame Window” on page 311.