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

📄 cstm1dlg.cpp

📁 主要介绍vc++6.0的编程过程
💻 CPP
字号:
// cstm1dlg.cpp : implementation file
//

#include "stdafx.h"
#include "AboutWiz.h"
#include "cstm1dlg.h"
#include "AboutWizaw.h"

#ifdef _PSEUDO_DEBUG
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCustom1Dlg dialog


CCustom1Dlg::CCustom1Dlg()
	: CAppWizStepDlg(CCustom1Dlg::IDD)
{
	//{{AFX_DATA_INIT(CCustom1Dlg)
	//}}AFX_DATA_INIT
}


void CCustom1Dlg::DoDataExchange(CDataExchange* pDX)
{
	CAppWizStepDlg::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CCustom1Dlg)
	DDX_Text(pDX, IDC_EDT_PROGRAMMER, m_strProgrammer);
	DDX_Text(pDX, IDC_EDT_WEB_PAGE, m_strWebPage);
	DDX_Text(pDX, IDC_EDT_GENERAL_INFO, m_strGeneralInfo);
	//}}AFX_DATA_MAP
}

// This is called whenever the user presses Next, Back, or Finish with this step
//  present.  Do all validation & data exchange from the dialog in this function.
BOOL CCustom1Dlg::OnDismiss()
{
 if (!UpdateData(TRUE)) return FALSE;

 AboutWizaw.m_Dictionary.SetAt("PROGRAMMER",
  m_strProgrammer);
 AboutWizaw.m_Dictionary.SetAt("GENERAL_INFO",
  m_strGeneralInfo);
 AboutWizaw.m_Dictionary.SetAt("WEB_PAGE",
  m_strWebPage);

 return TRUE; 
}

BEGIN_MESSAGE_MAP(CCustom1Dlg, CAppWizStepDlg)
	//{{AFX_MSG_MAP(CCustom1Dlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// CCustom1Dlg message handlers

BOOL CCustom1Dlg::OnInitDialog() 
{
	CAppWizStepDlg::OnInitDialog();
	
	AboutWizaw.m_Dictionary.Lookup("PROGRAMMER",
	 m_strProgrammer);
	AboutWizaw.m_Dictionary.Lookup("GENERAL_INFO",
	 m_strGeneralInfo);
	AboutWizaw.m_Dictionary.Lookup("WEB_PAGE",
	 m_strWebPage);

	UpdateData(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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -