This topic has not yet been rated - Rate this topic

CPropertySheet::SetActivePage

Changes the active page.

BOOL SetActivePage(
   int nPage 
);
BOOL SetActivePage(
   CPropertyPage* pPage 
);
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.

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.

Header: afxdlgs.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ