CPropertySheet::RemovePage

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

This member function removes a page from the property sheet and destroys the associated window. The CPropertyPage object itself is not destroyed until the owner of the CPropertySheet window is closed.

Example

See the example for CPropertyPage::OnWizardNext.

CPropertySheet OverviewClass MembersHierarchy Chart

See Also   CPropertySheet::AddPage