⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 createoractivateview.cpp

📁 Visual_C++[1].NET_Bible1 Visual_C++宝典书中的全部源码
💻 CPP
字号:
// CreateOrActivateView.cpp : implementation of the CCreateOrActivateView class
//

#include "stdafx.h"
#include "CreateOrActivate.h"

#include "CreateOrActivateDoc.h"
#include "CreateOrActivateView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CCreateOrActivateView

IMPLEMENT_DYNCREATE(CCreateOrActivateView, CView)

BEGIN_MESSAGE_MAP(CCreateOrActivateView, CView)
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

// CCreateOrActivateView construction/destruction

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

}

CCreateOrActivateView::~CCreateOrActivateView()
{
}

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

	return CView::PreCreateWindow(cs);
}

// CCreateOrActivateView drawing

void CCreateOrActivateView::OnDraw(CDC* /*pDC*/)
{
	CCreateOrActivateDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

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


// CCreateOrActivateView printing

BOOL CCreateOrActivateView::OnPreparePrinting(CPrintInfo* pInfo)
{
	// default preparation
	return DoPreparePrinting(pInfo);
}

void CCreateOrActivateView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add extra initialization before printing
}

void CCreateOrActivateView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add cleanup after printing
}


// CCreateOrActivateView diagnostics

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

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

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


// CCreateOrActivateView message handlers

⌨️ 快捷键说明

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