共用方式為


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.

Requirements

Header: afxdlgs.h

See Also

Reference

CPropertySheet Class

Hierarchy Chart

CPropertySheet::AddPage

Other Resources

CPropertySheet Members