📄 modedialog.cpp
字号:
// ModeDialog.cpp : implementation file
//
#include "stdafx.h"
#include "Exam2.h"
#include "ModeDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CModeDialog dialog
CModeDialog::CModeDialog(CWnd* pParent /*=NULL*/)
: CDialog(CModeDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CModeDialog)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CModeDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CModeDialog)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CModeDialog, CDialog)
//{{AFX_MSG_MAP(CModeDialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CModeDialog message handlers
BOOL CModeDialog::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
CWnd * pStaticWnd = GetDlgItem(IDC_OUTPUT_TEXT);
pStaticWnd->SetWindowText("这是一个模式对话框");
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -