Question on Tabs on Property Sheets?
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
Re: Question on Tabs on Property Sheets?
If you need to know after the fact, use CPropertySheet::GetActivePage(). Otherwise, you can determine when a page is selected by handling CPropertyPage::OnSetActive()