dialogcontrolview.cpp

来自「相关的语音处理」· C++ 代码 · 共 83 行

CPP
83
字号
// DialogControlView.cpp : implementation of the CDialogControlView class
//

#include "stdafx.h"
#include "DialogControl.h"

#include "DialogControlDoc.h"
#include "DialogControlView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDialogControlView

IMPLEMENT_DYNCREATE(CDialogControlView, CView)

BEGIN_MESSAGE_MAP(CDialogControlView, CView)
	//{{AFX_MSG_MAP(CDialogControlView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDialogControlView construction/destruction

CDialogControlView::CDialogControlView()
{
	// TODO: add construction code here

}

CDialogControlView::~CDialogControlView()
{
}

BOOL CDialogControlView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CDialogControlView drawing

void CDialogControlView::OnDraw(CDC* pDC)
{
	CDialogControlDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CDialogControlView diagnostics

#ifdef _DEBUG
void CDialogControlView::AssertValid() const
{
	CView::AssertValid();
}

void CDialogControlView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CDialogControlDoc* CDialogControlView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CDialogControlDoc)));
	return (CDialogControlDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CDialogControlView message handlers

⌨️ 快捷键说明

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