CPropertySheet::SetActivePage

BOOL SetActivePage( int nPage );

BOOL SetActivePage( CPropertyPage* pPage );

Return Value

Nonzero if the property sheet is activated successfully; otherwise 0.

Parameters

nPage

Index of the page to set. It must be between 0 and one less than the number of pages in the property sheet, inclusive.

pPage

Points to the page to set in the property sheet. It cannot be NULL.

Remarks

Use this member function to change the active page. For example, use SetActivePage if a user’s action on one page should cause another page to become the active page.

CPropertySheet OverviewClass MembersHierarchy Chart