资源简介
推箱子游戏VC6源代码 仓库番游戏VC6源代码
代码片段和文件信息
// BoxMan.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “BoxMan.h“
#include “MainFrm.h“
//my
#include “BoxManClass.h“
#include “MailStatic.h“
//end
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBoxManApp
BEGIN_MESSAGE_MAP(CBoxManApp CWinApp)
//{{AFX_MSG_MAP(CBoxManApp)
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
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBoxManApp construction
CBoxManApp::CBoxManApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CBoxManApp object
CBoxManApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CBoxManApp initialization
BOOL CBoxManApp::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“));
// To create the main window this code creates a new frame window
// object and then sets it as the application‘s main window object.
CMainframe* pframe = new CMainframe;
m_pMainWnd = pframe;
// create and load the frame with its resources
pframe->Loadframe(IDR_MAINframe
WS_OVERLAPPEDWINDOW | FWS_ADDTOtitle NULL
NULL);
// The one and only window has been initialized so show and update it.
pframe->ShowWindow(SW_SHOW);
pframe->UpdateWindow();
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CBoxManApp message handlers
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
//{{AFX_DATA(CAboutDlg)
enum { IDD = IDD_ABOUTBOX };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 2773 2003-11-04 11:50 box\BoxMan.clw
I.A.... 5411 2003-11-04 11:50 box\BoxMan.cpp
I.A.... 14177 2003-11-04 11:50 box\BoxMan.dsp
I.A.... 535 2003-11-04 11:50 box\BoxMan.dsw
I.A.... 49152 2003-11-04 11:50 box\BoxMan.exe
I.A.... 1404 2003-11-04 11:50 box\BoxMan.h
I.A.... 58368 2011-04-27 17:20 box\BoxMan.ncb
I.A.... 53760 2011-04-27 17:20 box\BoxMan.opt
I.A.... 3484 2011-04-27 17:20 box\BoxMan.plg
I.A.... 10673 2003-11-04 11:50 box\BoxMan.rc
I.A.... 26934 2003-11-04 11:50 box\BoxManClass.cpp
I.A.... 2981 2003-11-04 11:50 box\BoxManClass.h
I.A.... 231 2003-11-04 11:50 box\BoxMan___Win32_Release1\BoxMan.cnt
I.A.... 49152 2011-04-27 17:19 box\BoxMan___Win32_Release1\BoxMan.exe
I.A.... 37074 2011-04-27 17:19 box\BoxMan___Win32_Release1\BOXMAN.HLP
I.A.... 17596 2011-04-27 17:19 box\BoxMan___Win32_Release1\BoxMan.obj
I.A.... 5690836 2011-04-27 17:19 box\BoxMan___Win32_Release1\BoxMan.pch
I.A.... 10448 2011-04-27 17:19 box\BoxMan___Win32_Release1\BoxMan.res
I.A.... 35021 2011-04-27 17:19 box\BoxMan___Win32_Release1\BoxManClass.obj
I.A.... 22604 2011-04-27 17:19 box\BoxMan___Win32_Release1\ChildView.obj
I.A.... 16477 2011-04-27 17:19 box\BoxMan___Win32_Release1\MailStatic.obj
I.A.... 13586 2011-04-27 17:19 box\BoxMan___Win32_Release1\MainFrm.obj
I.A.... 7989 2011-04-27 17:19 box\BoxMan___Win32_Release1\MapSelectDlg.obj
I.A.... 732 2011-04-27 17:19 box\BoxMan___Win32_Release1\StdAfx.obj
I.A.... 58368 2011-04-27 17:19 box\BoxMan___Win32_Release1\vc60.idb
I.A.... 8219 2003-11-04 11:50 box\ChildView.cpp
I.A.... 1927 2003-11-04 11:50 box\ChildView.h
I.A.... 231 2003-11-04 11:50 box\Debug\BoxMan.cnt
I.A.... 1437736 2011-04-27 17:20 box\Debug\BoxMan.exe
I.A.... 37074 2011-04-27 17:20 box\Debug\BOXMAN.HLP
............此处省略89个文件信息
评论
共有 条评论