#pragma once #include "ComputerScience.h" #include "InformationTechnology.h" class CLifePlanningSheet : public CPropertySheet { DECLARE_DYNAMIC(CLifePlanningSheet) public: CLifePlanningSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); CLifePlanningSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); CLifePlanningSheet(); //virtual ~CLifePlanningSheet(); private: CComputerScience pgeComputerScience; CInformationTechnology pgeInformationTechnology; protected: DECLARE_MESSAGE_MAP() };
// LifePlanningSheet.cpp : implementation file // #include "stdafx.h" #include "LifePlanning.h" #include "LifePlanningSheet.h" #include <cstdlib> IMPLEMENT_DYNAMIC(CLifePlanningSheet, CPropertySheet) CLifePlanningSheet::CLifePlanningSheet() { AddPage(&pgeComputerScience); AddPage(&pgeInformationTechnology); SetLook(CPropertySheet::PropSheetLook_Tabs); } BEGIN_MESSAGE_MAP(CLifePlanningSheet, CPropertySheet) END_MESSAGE_MAP()
CPropertySheet
CMFCPropertySheet
CPropertySheeet
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)