myctrlsheet.cpp

来自「利用CJ60库创建界面」· C++ 代码 · 共 51 行

CPP
51
字号
// MyCtrlSheet.cpp : implementation file
//

#include "stdafx.h"
#include "DutComputerManager.h"
#include "MyCtrlSheet.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyCtrlSheet

IMPLEMENT_DYNAMIC(CMyCtrlSheet, CPropertySheet)

CMyCtrlSheet::CMyCtrlSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
	AddPages();
}

CMyCtrlSheet::CMyCtrlSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	AddPages();
}

CMyCtrlSheet::~CMyCtrlSheet()
{
}


BEGIN_MESSAGE_MAP(CMyCtrlSheet, CPropertySheet)
	//{{AFX_MSG_MAP(CMyCtrlSheet)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyCtrlSheet message handlers

void CMyCtrlSheet::AddPages()
{
	AddPage(&m_LocationPage);
	AddPage(&m_StatusPage);
	AddPage(&m_TypePage);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?