📄 propxiugai.cpp
字号:
// propxiugai.cpp : implementation file
//
#include "stdafx.h"
#include "MFCpl0.h"
#include "propxiugai.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Cpropxiugai property page
IMPLEMENT_DYNCREATE(Cpropxiugai, CPropertyPage)
Cpropxiugai::Cpropxiugai() : CPropertyPage(Cpropxiugai::IDD)
{
//{{AFX_DATA_INIT(Cpropxiugai)
m_edit1 = _T("");
//}}AFX_DATA_INIT
}
Cpropxiugai::~Cpropxiugai()
{
}
void Cpropxiugai::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Cpropxiugai)
DDX_Text(pDX, IDC_EDIT1, m_edit1);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Cpropxiugai, CPropertyPage)
//{{AFX_MSG_MAP(Cpropxiugai)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Cpropxiugai message handlers
void Cpropxiugai::xiugai(CString line)
{
m_edit1=line;
}
BOOL Cpropxiugai::OnSetActive()
{
((CPropertySheet*)GetParent())->SetWizardButtons(PSWIZB_FINISH);
return CPropertyPage::OnSetActive();
}
BOOL Cpropxiugai::OnWizardFinish()
{
GetDlgItem(IDC_EDIT1)->GetWindowText(m_edit1);
return CPropertyPage::OnWizardFinish();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -