If you need to know after the fact, use CPropertySheet::GetActivePage(). Otherwise, you can determine when a page is selected by handling CPropertyPage::OnSetActive()