propertyinfodlg.cpp

来自「这是VCF框架的代码」· C++ 代码 · 共 66 行

CPP
66
字号
// PropertyInfoDlg.cpp : implementation file//#include "stdafx.h"#include "vcfnewclasswiz.h"#include "PropertyInfoDlg.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// PropertyInfoDlg dialogPropertyInfoDlg::PropertyInfoDlg(CWnd* pParent /*=NULL*/)	: CDialog(PropertyInfoDlg::IDD, pParent){	//{{AFX_DATA_INIT(PropertyInfoDlg)	m_propName = _T("");	m_readOnlyProp = FALSE;	m_propType = _T("int");	//}}AFX_DATA_INIT}void PropertyInfoDlg::DoDataExchange(CDataExchange* pDX){	CDialog::DoDataExchange(pDX);	//{{AFX_DATA_MAP(PropertyInfoDlg)	DDX_Control(pDX, IDC_PROP_TYPE, m_propTypeList);	DDX_Text(pDX, IDC_PROP_NAME, m_propName);	DDX_Check(pDX, IDC_READ_ONLY_PROP, m_readOnlyProp);	//DDX_CBIndex(pDX, IDC_PROP_TYPE, m_propType);	//}}AFX_DATA_MAP	if ( pDX->m_bSaveAndValidate ){		m_propTypeList.GetLBText( m_propTypeList.GetCurSel(), m_propType ); 	}	else {		m_propTypeList.SelectString( 0, m_propType );	}}BEGIN_MESSAGE_MAP(PropertyInfoDlg, CDialog)	//{{AFX_MSG_MAP(PropertyInfoDlg)	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// PropertyInfoDlg message handlersBOOL PropertyInfoDlg::OnInitDialog() {	CDialog::OnInitDialog();			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 + -
显示快捷键?