CPropertySheet::GetPage

Returns a pointer to the specified page in this property sheet.

CPropertyPage* GetPage(
   int nPage 
) const;

Parameters

  • nPage
    Index of the desired page, starting at 0. Must be between 0 and one less than the number of pages in the property sheet, inclusive.

Return Value

The pointer to the page corresponding to the nPage parameter.

Example

See the example for CPropertyPage::OnWizardFinish.

Requirements

Header: afxdlgs.h

See Also

Reference

CPropertySheet Class

Hierarchy Chart

CPropertySheet::AddPage

CPropertySheet::GetActivePage

CPropertySheet::GetPageCount

CPropertySheet::RemovePage

CPropertySheet::SetTitle

Other Resources

CPropertySheet Members