📄 aaaa.cpp
字号:
// aaaa.cpp : implementation file
//
#include "stdafx.h"
#include "paintobj.h"
#include "aaaa.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// aaaa
IMPLEMENT_DYNCREATE(aaaa, CView)
aaaa::aaaa()
{
EnableAutomation();
}
aaaa::~aaaa()
{
}
void aaaa::OnFinalRelease()
{
// When the last reference for an automation object is released
// OnFinalRelease is called. The base class will automatically
// deletes the object. Add additional cleanup required for your
// object before calling the base class.
CView::OnFinalRelease();
}
BEGIN_MESSAGE_MAP(aaaa, CView)
//{{AFX_MSG_MAP(aaaa)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
BEGIN_DISPATCH_MAP(aaaa, CView)
//{{AFX_DISPATCH_MAP(aaaa)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()
// Note: we add support for IID_Iaaaa to support typesafe binding
// from VBA. This IID must match the GUID that is attached to the
// dispinterface in the .ODL file.
// {9365C9B2-81B8-4B78-9378-8F777909C164}
static const IID IID_Iaaaa =
{ 0x9365c9b2, 0x81b8, 0x4b78, { 0x93, 0x78, 0x8f, 0x77, 0x79, 0x9, 0xc1, 0x64 } };
BEGIN_INTERFACE_MAP(aaaa, CView)
INTERFACE_PART(aaaa, IID_Iaaaa, Dispatch)
END_INTERFACE_MAP()
/////////////////////////////////////////////////////////////////////////////
// aaaa drawing
void aaaa::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
}
/////////////////////////////////////////////////////////////////////////////
// aaaa diagnostics
#ifdef _DEBUG
void aaaa::AssertValid() const
{
CView::AssertValid();
}
void aaaa::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// aaaa message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -