// KeySheet.cpp : implementation file // #include "stdafx.h" #include "resource.h" #include "KeySheet.h" #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CKeySheet IMPLEMENT_DYNAMIC(CKeySheet, CPropertySheet) CKeySheet::CKeySheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(nIDCaption, pParentWnd, iSelectPage) { } CKeySheet::CKeySheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(pszCaption, pParentWnd, iSelectPage) { // Add all of the property pages here. Note that // the order that they appear in here will be // the order they appear in on screen. By default, // the first page of the set is the active one. // One way to make a different property page the // active one is to call SetActivePage(). AddPage(&m_Page1); AddPage(&m_Page2); } CKeySheet::~CKeySheet() { } BEGIN_MESSAGE_MAP(CKeySheet, CPropertySheet) //{{AFX_MSG_MAP(CKeySheet) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CKeySheet message handlers