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

📄 top studioaw.cpp

📁 深入浅出MFC 的书中源码 我也是找了很久才找到
💻 CPP
字号:
// Top Studioaw.cpp : implementation file

//



#include "stdafx.h"

#include "Top Studio.h"

#include "Top Studioaw.h"

#include "chooser.h"



#ifdef _PSEUDO_DEBUG

#undef THIS_FILE

static char THIS_FILE[] = __FILE__;

#endif



// This is called immediately after the custom AppWizard is loaded.  Initialize

//  the state of the custom AppWizard here.

void CTopStudioAppWiz::InitCustomAppWiz()

{

	// Create a new dialog chooser; CDialogChooser's constructor initializes

	//  its internal array with pointers to the steps.

	m_pChooser = new CDialogChooser;



	// At first, we don't know the total number of steps, since there are two

	//  possible "tracks" (MDI/SDI app and dialog-based app).

	SetNumberOfSteps(-1);



	// Inform AppWizard of the languages we support

	SetSupportedLanguages(_T("English [United States] (APPWZENU.DLL);0x40904b0"));



	// TODO: Add any other custom AppWizard-wide initialization here.

}



// This is called just before the custom AppWizard is unloaded.

void CTopStudioAppWiz::ExitCustomAppWiz()

{

	// Deallocate memory used for the dialog chooser

	ASSERT(m_pChooser != NULL);

	delete m_pChooser;

	m_pChooser = NULL;



	// TODO: Add code here to deallocate resources used by the custom AppWizard

}



// This is called when the user clicks "Create..." on the New Project dialog

//  or "Next" on one of the custom AppWizard's steps.

CAppWizStepDlg* CTopStudioAppWiz::Next(CAppWizStepDlg* pDlg)

{

	// Delegate to the dialog chooser

	return m_pChooser->Next(pDlg);

}



// This is called when the user clicks "Back" on one of the custom

//  AppWizard's steps.

CAppWizStepDlg* CTopStudioAppWiz::Back(CAppWizStepDlg* pDlg)

{

	// Delegate to the dialog chooser

	return m_pChooser->Back(pDlg);

}



void CTopStudioAppWiz::CustomizeProject(IBuildProject* pProject)

{

	// TODO: Add code here to customize the project.  If you don't wish

	//  to customize project, you may remove this virtual override.

	

	// This is called immediately after the default Debug and Release

	//  configurations have been created for each platform.  You may customize

	//  existing configurations on this project by using the methods

	//  of IBuildProject and IConfiguration such as AddToolSettings,

	//  RemoveToolSettings, and AddCustomBuildStep. These are documented in

	//  the Developer Studio object model documentation.



	// WARNING!!  IBuildProject and all interfaces you can get from it are OLE

	//  COM interfaces.  You must be careful to release all new interfaces

	//  you acquire.  In accordance with the standard rules of COM, you must

	//  NOT release pProject, unless you explicitly AddRef it, since pProject

	//  is passed as an "in" parameter to this function.  See the documentation

	//  on CCustomAppWiz::CustomizeProject for more information.

}





// Here we define one instance of the CTopStudioAppWiz class.  You can access

//  m_Dictionary and any other public members of this class through the

//  global TopStudioaw.

CTopStudioAppWiz TopStudioaw;



⌨️ 快捷键说明

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