📄 pospage.cpp
字号:
// PosPage.cpp : implementation file
//
#include "stdafx.h"
#include "mdlsprop.h"
#include "PosPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPosPage property page
IMPLEMENT_DYNCREATE(CPosPage, CPropertyPage)
CPosPage::CPosPage() : CPropertyPage(CPosPage::IDD)
{
//{{AFX_DATA_INIT(CPosPage)
m_x = 0;
m_y = 0;
//}}AFX_DATA_INIT
}
CPosPage::~CPosPage()
{
}
void CPosPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPosPage)
DDX_Text(pDX, IDC_X, m_x);
DDX_Text(pDX, IDC_Y, m_y);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPosPage, CPropertyPage)
//{{AFX_MSG_MAP(CPosPage)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPosPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -