📄 ffmsview.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -