dialogview.cpp
来自「关于vc的最基础的东西」· C++ 代码 · 共 68 行
CPP
68 行
// DialogView.cpp : implementation file
//
#include "stdafx.h"
#include "Example.h"
#include "DialogView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDialogView
IMPLEMENT_DYNCREATE(CDialogView, CFormView)
CDialogView::CDialogView()
: CFormView(CDialogView::IDD)
{
//{{AFX_DATA_INIT(CDialogView)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CDialogView::~CDialogView()
{
}
void CDialogView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDialogView)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDialogView, CFormView)
//{{AFX_MSG_MAP(CDialogView)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDialogView diagnostics
#ifdef _DEBUG
void CDialogView::AssertValid() const
{
CFormView::AssertValid();
}
void CDialogView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CDialogView message handlers
void CDialogView::OnOK()
{
// TODO: Add your control notification handler code here
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?