资源简介
经过一个学期的学习做出来的作品 每个功能都有对应的工具栏
代码片段和文件信息
// CGA Demo.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CGA Demo.h“
#include “MainFrm.h“
#include “CGA DemoDoc.h“
#include “CGA DemoView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCGADemoApp
BEGIN_MESSAGE_MAP(CCGADemoApp CWinApp)
//{{AFX_MSG_MAP(CCGADemoApp)
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)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCGADemoApp construction
CCGADemoApp::CCGADemoApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCGADemoApp object
CCGADemoApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCGADemoApp initialization
BOOL CCGADemoApp::InitInstance()
{
AfxEnableControlContainer();
// 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(); // 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(CCGADemoDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CCGADemoView));
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()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 54164 2010-01-03 10:07 CGA Demo\CGA Demo.aps
文件 3768 2010-05-29 19:03 CGA Demo\CGA Demo.clw
文件 4235 2009-12-12 19:58 CGA Demo\CGA Demo.cpp
文件 4882 2009-12-12 19:58 CGA Demo\CGA Demo.dsp
文件 541 2009-09-09 14:17 CGA Demo\CGA Demo.dsw
文件 1370 2009-09-09 14:17 CGA Demo\CGA Demo.h
文件 345088 2010-05-29 19:03 CGA Demo\CGA Demo.ncb
文件 425472 2010-05-29 19:03 CGA Demo\CGA Demo.opt
文件 250 2010-05-29 18:51 CGA Demo\CGA Demo.plg
文件 17252 2010-01-03 10:07 CGA Demo\CGA Demo.rc
文件 1765 2009-09-09 14:17 CGA Demo\CGA DemoDoc.cpp
文件 1487 2009-09-09 14:17 CGA Demo\CGA DemoDoc.h
文件 40955 2010-01-05 15:00 CGA Demo\CGA DemoView.cpp
文件 4435 2009-12-22 15:42 CGA Demo\CGA DemoView.h
文件 172134 2010-01-05 15:00 CGA Demo\Debug\CGA Demo.exe
文件 413772 2010-01-05 15:00 CGA Demo\Debug\CGA Demo.ilk
文件 22882 2009-12-21 15:12 CGA Demo\Debug\CGA Demo.obj
文件 5501896 2009-09-14 08:22 CGA Demo\Debug\CGA Demo.pch
文件 541696 2010-01-05 15:00 CGA Demo\Debug\CGA Demo.pdb
文件 13332 2010-01-03 10:07 CGA Demo\Debug\CGA Demo.res
文件 14634 2009-09-14 08:22 CGA Demo\Debug\CGA DemoDoc.obj
文件 125049 2010-01-05 15:00 CGA Demo\Debug\CGA DemoView.obj
文件 19799 2009-12-21 15:12 CGA Demo\Debug\MainFrm.obj
文件 105490 2009-09-14 08:22 CGA Demo\Debug\StdAfx.obj
文件 238592 2010-05-29 18:51 CGA Demo\Debug\vc60.idb
文件 380928 2010-01-05 15:00 CGA Demo\Debug\vc60.pdb
文件 2373 2009-12-12 18:11 CGA Demo\MainFrm.cpp
文件 1440 2009-12-12 18:10 CGA Demo\MainFrm.h
文件 4352 2009-09-09 14:17 CGA Demo\ReadMe.txt
文件 53248 2009-12-20 19:20 CGA Demo\Release\CGA Demo.exe
............此处省略31个文件信息
- 上一篇:window下使用protobuf
- 下一篇:登陆注册界面的设计 MFC
评论
共有 条评论