setting.cpp

来自「采用VC6.0做的一个画图板程序」· C++ 代码 · 共 46 行

CPP
46
字号
// Setting.cpp : implementation file
//

#include "stdafx.h"
#include "draw.h"
#include "Setting.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSetting

IMPLEMENT_DYNAMIC(CSetting, CPropertySheet)

CSetting::CSetting(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
	AddPage(&settingline);
	AddPage(&settingcolor);
}

CSetting::CSetting(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	AddPage(&settingline);
	AddPage(&settingcolor);
}

CSetting::~CSetting()
{
}


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

/////////////////////////////////////////////////////////////////////////////
// CSetting message handlers

⌨️ 快捷键说明

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