资源简介

======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : fir ======================================================================== AppWizard has created this fir application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your fir application. fir.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. fir.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CFirApp application class. fir.cpp This is the main application source file that contains the application class CFirApp. fir.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. fir.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\fir.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file fir.rc. res\fir.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. ///////////////////////////////////////////////////////////////////////////// For the main frame window: MainFrm.h,

资源截图

代码片段和文件信息

// fir.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “fir.h“

#include “MainFrm.h“
#include “firDoc.h“
#include “firView.h“

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

/////////////////////////////////////////////////////////////////////////////
// CFirApp

BEGIN_MESSAGE_MAP(CFirApp CWinApp)
//{{AFX_MSG_MAP(CFirApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFirApp construction

CFirApp::CFirApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CFirApp object

CFirApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CFirApp initialization

BOOL CFirApp::InitInstance()
{
// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));

LoadStdProfileSettings(1);  // Load standard INI file options (including MRU)

// Register the application‘s document templates.  Document templates
//  serve as the connection between documents frame windows and views.

CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CFirDoc)
RUNTIME_CLASS(CMainframe)       // main SDI frame window
RUNTIME_CLASS(CFirView));
AddDocTemplate(pDocTemplate);

// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);

// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;

// The one and only window has been initialized so show and update it.

m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();

return TRUE;
}


/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About

class CAboutDlg : public CDialog
{
public:

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-10-07 16:04  fir-v0.8\
     目录           0  2017-10-07 15:51  fir-v0.8\Debug\
     文件       16164  2017-10-07 15:51  fir-v0.8\Debug\MainFrm.obj
     文件           0  2017-10-07 15:06  fir-v0.8\Debug\MainFrm.sbr
     文件       15606  2017-10-07 15:22  fir-v0.8\Debug\RCa00236
     文件       15606  2017-10-07 15:22  fir-v0.8\Debug\RCa10668
     文件      105705  2017-10-07 15:25  fir-v0.8\Debug\StdAfx.obj
     文件     1364460  2017-10-07 15:06  fir-v0.8\Debug\StdAfx.sbr
     文件     4817920  2017-10-07 15:02  fir-v0.8\Debug\fir.bsc
     文件      188486  2017-10-07 15:51  fir-v0.8\Debug\fir.exe
     文件      317832  2017-10-07 15:51  fir-v0.8\Debug\fir.ilk
     文件       22626  2017-10-07 15:51  fir-v0.8\Debug\fir.obj
     文件     5485144  2017-10-07 15:25  fir-v0.8\Debug\fir.pch
     文件      336896  2017-10-07 15:51  fir-v0.8\Debug\fir.pdb
     文件       55328  2017-10-07 15:51  fir-v0.8\Debug\fir.res
     文件           0  2017-10-07 15:06  fir-v0.8\Debug\fir.sbr
     文件       14590  2017-10-07 15:25  fir-v0.8\Debug\firDoc.obj
     文件           0  2017-10-07 15:06  fir-v0.8\Debug\firDoc.sbr
     文件       54265  2017-10-07 15:25  fir-v0.8\Debug\firView.obj
     文件           0  2017-10-07 15:06  fir-v0.8\Debug\firView.sbr
     文件      214016  2017-10-07 15:51  fir-v0.8\Debug\vc60.idb
     文件      364544  2017-10-07 15:51  fir-v0.8\Debug\vc60.pdb
     文件     1376335  2017-10-07 15:06  fir-v0.8\Debug\剪枝法五子棋.exe
     文件        1742  2017-10-07 16:03  fir-v0.8\MainFrm.cpp
     文件        1438  2017-10-07 15:46  fir-v0.8\MainFrm.h
     文件        3927  2009-10-15 23:16  fir-v0.8\ReadMe.txt
     目录           0  2017-10-07 16:04  fir-v0.8\Release\
     文件       10984  2017-10-07 16:04  fir-v0.8\Release\MainFrm.obj
     文件         768  2017-10-07 16:04  fir-v0.8\Release\StdAfx.obj
     文件       86016  2017-10-07 16:04  fir-v0.8\Release\fir.exe
     文件       15919  2017-10-07 16:04  fir-v0.8\Release\fir.obj
............此处省略27个文件信息

评论

共有 条评论