다음을 통해 공유


CMFCPropertySheet::RemovePage

Removes a property page from the property sheet.

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

Parameters

  • [in] pPage
    Pointer to property page object that represents the property page to remove. Cannot be NULL.

  • [in] nPage
    Zero-based index of the page to remove.

Remarks

This method removes the specified property page and destroys its associated window. The property page object that the pPage parameter specifies is not destroyed until the CMFCPropertySheet window is closed.

Requirements

Header: afxpropertysheet.h

See Also

Reference

CMFCPropertySheet Class

Hierarchy Chart

CPropertySheet::RemovePage