CPropertySheet::GetPageIndex

Retrieves the index number of the specified page in the property sheet.

int GetPageIndex(
   CPropertyPage* pPage 
);

Parameters

  • pPage
    Points to the page with the index to be found. Cannot be NULL.

Return Value

The index number of a page.

Remarks

For example, you would use GetPageIndex to get the page index in order to use SetActivePage or GetPage.

Example

See the example for CPropertySheet::GetActivePage.

Requirements

Header: afxdlgs.h

See Also

Concepts

CPropertySheet Class

CPropertySheet Members

Hierarchy Chart

CPropertySheet::SetActivePage

CPropertySheet::GetPage