Call this member function to display a modal property sheet. The return value corresponds to the identifier of the control that closed the property sheet. After this function returns, the windows corresponding to the property sheet and all the pages will have been destroyed. The objects themselves will still exist. Typically, you will retrieve data from the CPropertyPage objects after DoModal returns IDOK.
virtual int DoModal( );
Header File | Afxdlgs.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CPropertySheet Overview, CPropertySheet Member Functions, Property Sheets, CDialog::DoModal, CPropertySheet::Create, CPropertyPage