BOOL CPropertyChoiceDlg::OnSetActive() { BOOL fResult = CPropertyPage::OnSetActive(); // beim ersten aktivate kriegt die aktive Page die PSN_ACTIVATE sowieso // deshalb nur alle weiteren weiterleiten if (!m_fFirstActivation) { if (NULL != m_pSheet) m_pSheet -> OnSetActive(); // an alle Childs weiterleiten } InitSheet(); m_fFirstActivation = false; return fResult; }
//-------------------------- CONSTRUCTOR -------------------------------------* CSheetConfigGSD::CSheetConfigGSD(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(pszCaption, pParentWnd, iSelectPage) { InitSheet(); }
//-------------------------- CONSTRUCTOR -------------------------------------* CSheetConfigGSD::CSheetConfigGSD(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(nIDCaption, pParentWnd, iSelectPage) { InitSheet(); }
//------------------------ DEFAULT CONSTRUCTOR -------------------------------* CSheetConfigGSD::CSheetConfigGSD() : CPropertySheet() { InitSheet(); }