CPropertySheet::RemovePage
Removes a page from the property sheet and destroys the associated window.
void RemovePage(
CPropertyPage *pPage
);
void RemovePage(
int nPage
);
Parameters
pPage
Points to the page to be removed from the property sheet. Cannot be NULL.nPage
Index of the page to be removed. Must be between 0 and one less than the number of pages in the property sheet, inclusive.
Remarks
The CPropertyPage object itself is not destroyed until the owner of the CPropertySheet window is closed.
Example
See the example for CPropertyPage::OnWizardNext.
Requirements
Header: afxdlgs.h