Поделиться через


CPropertySheet::RemovePage

Removes a page from the property sheet and destroys the associated window.

void RemovePage(
   CPropertyPage *pPage 
);
void RemovePage(
   int nPage 
);

Параметры

  • 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.

Заметки

The CPropertyPage object itself is not destroyed until the owner of the CPropertySheet window is closed.

Пример

See the example for CPropertyPage::OnWizardNext.

Требования

Header: afxdlgs.h

См. также

Основные понятия

CPropertySheet Class

CPropertySheet Members

Hierarchy Chart

CPropertySheet::AddPage