⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 authorpage.cpp

📁 windows mobile ado simple 开发环境:evc4.0
💻 CPP
字号:
// AuthorPage.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "AuthorPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAuthorPage property page

IMPLEMENT_DYNCREATE(CAuthorPage, CPropertyPage)

CAuthorPage::CAuthorPage() : CPropertyPage(CAuthorPage::IDD)
{
	//{{AFX_DATA_INIT(CAuthorPage)
	m_nAuthorID = 0;
	m_odtAuthorDate = COleDateTime::GetCurrentTime();
	m_strAuthorName = _T("");
	//}}AFX_DATA_INIT
}

CAuthorPage::~CAuthorPage()
{
}

void CAuthorPage::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAuthorPage)
	DDX_Text(pDX, IDC_AUTHOR_ID, m_nAuthorID);
	DDV_MinMaxInt(pDX, m_nAuthorID, 0, 10000000);
	DDX_DateTimeCtrl(pDX, IDC_AUTHOR_DATE, m_odtAuthorDate);
	DDX_Text(pDX, IDC_AUTHOR_NAME, m_strAuthorName);
	DDV_MaxChars(pDX, m_strAuthorName, 80);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAuthorPage, CPropertyPage)
	//{{AFX_MSG_MAP(CAuthorPage)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAuthorPage message handlers

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -