Click to See Complete Forum and Search --> : Question on Tabs on Property Sheets?


April 12th, 1999, 06:26 PM
Having a class called CUserView which inherits from CPropertySheet
and two pages called:
CTaskPage and CUserPage both inherit from CProptertyPage.

I embed the page fine in the sheet fine. Now I would like to be able to find out what I need to do to be able to figure out which tab i selected. Either CtaskPage or CUserPage. Is there a message for pages to say the tab/dialog has been selected?

Thanks

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