int1.cpp

来自「模拟了现实中的示波器」· C++ 代码 · 共 64 行

CPP
64
字号
// Int1.cpp : implementation file
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.

#include "stdafx.h"
#include "Wizard97.h"
#include "Int1.h"

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

/////////////////////////////////////////////////////////////////////////////
// CInterior1 property page

IMPLEMENT_DYNCREATE(CInterior1, CPropertyPageEx)

CInterior1::CInterior1() : CPropertyPageEx(CInterior1::IDD, 0, IDS_HEADERTITLE, IDS_HEADERSUBTITLE)
{
	//{{AFX_DATA_INIT(CInterior1)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}

CInterior1::~CInterior1()
{
}

void CInterior1::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPageEx::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CInterior1)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CInterior1, CPropertyPageEx)
	//{{AFX_MSG_MAP(CInterior1)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInterior1 message handlers

BOOL CInterior1::OnSetActive()
{
	CPropertySheet* pSheet = (CPropertySheet*)GetParent();
	ASSERT_KINDOF(CPropertySheet, pSheet);
	pSheet->SetWizardButtons( PSWIZB_BACK | PSWIZB_NEXT);
	return CPropertyPageEx::OnSetActive();
}

⌨️ 快捷键说明

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