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

📄 appdemoview.cpp

📁 能够实现联通和移动短消息群发的软件
💻 CPP
字号:
// AppDemoView.cpp : implementation of the CAppDemoView class
//

#include "stdafx.h"
#include "AppDemo.h"

#include "AppDemoDoc.h"
#include "AppDemoView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CAppDemoView

IMPLEMENT_DYNCREATE(CAppDemoView, CEditView)

BEGIN_MESSAGE_MAP(CAppDemoView, CEditView)
	//{{AFX_MSG_MAP(CAppDemoView)
	ON_WM_TIMER()
	//}}AFX_MSG_MAP
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CEditView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CEditView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CEditView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAppDemoView construction/destruction

CAppDemoView::CAppDemoView()
{
	// TODO: add construction code here
 
}

CAppDemoView::~CAppDemoView()
{
}

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

	return CEditView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CAppDemoView drawing

void CAppDemoView::OnDraw(CDC* pDC)
{
	//CAppDemoDoc* pDoc = GetDocument();
	//ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CAppDemoView printing

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CAppDemoView diagnostics

#ifdef _DEBUG
void CAppDemoView::AssertValid() const
{
	CEditView::AssertValid();
}

void CAppDemoView::Dump(CDumpContext& dc) const
{
	CEditView::Dump(dc);
}

//CAppDemoDoc* CAppDemoView::GetDocument() // non-debug version is inline
//{
//	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CAppDemoDoc)));
//	return (CAppDemoDoc*)m_pDocument;
//}


#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CAppDemoView message handlers


⌨️ 快捷键说明

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