cstm1dlg.cpp

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

CPP
70
字号
// cstm1dlg.cpp : implementation file//#include "stdafx.h"#include "VCFLibraryAppWizard.h"#include "cstm1dlg.h"#include "VCFLibraryAppWizardaw.h"#ifdef _PSEUDO_DEBUG#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CCustom1Dlg dialogCCustom1Dlg::CCustom1Dlg()	: CAppWizStepDlg(CCustom1Dlg::IDD){	//{{AFX_DATA_INIT(CCustom1Dlg)	//}}AFX_DATA_INIT}void CCustom1Dlg::DoDataExchange(CDataExchange* pDX){	CAppWizStepDlg::DoDataExchange(pDX);	//{{AFX_DATA_MAP(CCustom1Dlg)	DDX_Control(pDX, IDC_IMAGE, m_image1);	//}}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;	// TODO: Set template variables based on the dialog's data.	return TRUE;	// return FALSE if the dialog shouldn't be dismissed}BEGIN_MESSAGE_MAP(CCustom1Dlg, CAppWizStepDlg)	//{{AFX_MSG_MAP(CCustom1Dlg)	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CCustom1Dlg message handlersBOOL CCustom1Dlg::OnInitDialog() {	CAppWizStepDlg::OnInitDialog();		CBitmap bmp;	bmp.LoadBitmap( IDB_BITMAP1 );	this->m_image1.SetBitmap( bmp );	bmp.Detach();		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 + -
显示快捷键?