propertyrecord.cpp

来自「企业办公管理系统」· C++ 代码 · 共 55 行

CPP
55
字号
// PropertyRecord.cpp : implementation file
//

#include "stdafx.h"
#include "office.h"
#include "PropertyRecord.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPropertyRecord dialog


CPropertyRecord::CPropertyRecord(CWnd* pParent /*=NULL*/)
	: CDialog(CPropertyRecord::IDD, pParent)
{
	//{{AFX_DATA_INIT(CPropertyRecord)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CPropertyRecord::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPropertyRecord)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPropertyRecord, CDialog)
	//{{AFX_MSG_MAP(CPropertyRecord)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPropertyRecord message handlers

BOOL CPropertyRecord::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	m_delete=GetDlgItem(IDC_DELETE);
	//m_delete->EnableWindow(false);//刚开始的时候将按钮设置为不可用。
	//当选中某个选项时候再设置为可用。
	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 + =
减小字号Ctrl + -
显示快捷键?