bkview.cpp

来自「简单的示波器程序」· C++ 代码 · 共 74 行

CPP
74
字号
// Bkview.cpp : implementation file
//

#include "stdafx.h"
#include "aaa.h"
#include "Bkview.h"

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

/////////////////////////////////////////////////////////////////////////////
// CBkview

IMPLEMENT_DYNCREATE(CBkview, CFormView)

CBkview::CBkview()
	: CFormView(CBkview::IDD)
{
	//{{AFX_DATA_INIT(CBkview)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}

CBkview::~CBkview()
{
}

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


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

/////////////////////////////////////////////////////////////////////////////
// CBkview diagnostics

#ifdef _DEBUG
void CBkview::AssertValid() const
{
	CFormView::AssertValid();
}

void CBkview::Dump(CDumpContext& dc) const
{
	CFormView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CBkview message handlers

void CBkview::OnInitialUpdate() 
{
	CFormView::OnInitialUpdate();
	
	// TODO: Add your specialized code here and/or call the base class
	GetParentFrame()->RecalcLayout();
	ResizeParentToFit();
	m_control.SetParent(this);
   	//m_bkgd.Create(this,IDC_SHS);
}

⌨️ 快捷键说明

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