CXxxxx::XxxXxx()
{
CPropPage1 *pProp = (CPropPage1 *)propSheet.GetPage(1);
if ( pProp && pProp->m_bMustSave )
m_bPromptSave = true;
CPropPage2 *pProp2 = (CPropPage2 *)propSheet.GetPage(2);
if ( pProp2 && pProp2->m_bMustSave )
m_bPromptSave = true;
}




Or alternativly you could get the PropertyPage to set the information into the PropertySheet. The page can access the sheet by calling GetParent()