ffmsview.cpp
来自「本家庭理财系统是一个简易的家庭理财工具」· C++ 代码 · 共 88 行
CPP
88 行
// FFMSView.cpp : implementation of the CFFMSView class
//
#include "stdafx.h"
#include "FFMS.h"
#include "FFMSDoc.h"
#include "FFMSView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFFMSView
IMPLEMENT_DYNCREATE(CFFMSView, CFormView)
BEGIN_MESSAGE_MAP(CFFMSView, CFormView)
//{{AFX_MSG_MAP(CFFMSView)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFFMSView construction/destruction
CFFMSView::CFFMSView()
: CFormView(CFFMSView::IDD)
{
//{{AFX_DATA_INIT(CFFMSView)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
// TODO: add construction code here
}
CFFMSView::~CFFMSView()
{
}
void CFFMSView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFFMSView)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BOOL CFFMSView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CFormView::PreCreateWindow(cs);
}
void CFFMSView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
ResizeParentToFit();
}
/////////////////////////////////////////////////////////////////////////////
// CFFMSView diagnostics
#ifdef _DEBUG
void CFFMSView::AssertValid() const
{
CFormView::AssertValid();
}
void CFFMSView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
CFFMSDoc* CFFMSView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CFFMSDoc)));
return (CFFMSDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?