This class implements a modal dialog box with basic functionality. To create and display a modal dialog box, create an instance of this class, providing the name of an existing resource template for the dialog box. The dialog box object closes when the user clicks on any control with a pre-defined value, for example IDOK or IDCANCEL.
At a Glance
Header file: | Atlwin.h |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
Syntax
template <WORD t_wDlgTemplateID, BOOL t_bCenter = TRUE>
class CSimpleDialog : public CDialogImplBase;