Changes the active page.
BOOL SetActivePage( int nPage ); BOOL SetActivePage( CPropertyPage* pPage );
- Index of the page to set. It must be between 0 and one less than the number of pages in the property sheet, inclusive.
- Points to the page to set in the property sheet. It cannot be NULL.
Nonzero if the property sheet is activated successfully; otherwise 0.
For example, use SetActivePage if a user's action on one page should cause another page to become the active page.
See the example for CPropertySheet::GetActivePage.