资源简介
计算机图形学 visual c++ 6.0 实时动画(有注释).zip
代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “stdafx.h“
#include “实时动画.h“
#include “MainFrm.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainframe
IMPLEMENT_DYNCREATE(CMainframe CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code !
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static UINT indicators[] =
{
ID_SEPARATOR // status line indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
// CMainframe construction/destruction
CMainframe::CMainframe()
{
// TODO: add member initialization code here
}
CMainframe::~CMainframe()
{
}
int CMainframe::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CframeWnd::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndToolBar.CreateEx(this TBstyle_FLAT WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed to create toolbar\n“);
return -1; // fail to create
}
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators
sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed to create status bar\n“);
return -1; // fail to create
}
// TODO: Delete these three lines if you don‘t want the toolbar to
// be dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return 0;
}
BOOL CMainframe::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CframeWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CMainframe diagnostics
#ifdef _DEBUG
void CMainframe::AssertValid() const
{
CframeWnd::AssertValid();
}
void CMainframe::Dump(CDumpContext& dc) const
{
CframeWnd::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMainframe message handlers
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-01-21 21:22 实时动画\
目录 0 2012-01-21 21:22 实时动画\Debug\
文件 20115 2004-11-11 12:01 实时动画\Debug\MainFrm.obj
文件 9159 2004-11-11 12:01 实时动画\Debug\Sphere.obj
文件 105885 2004-11-11 12:01 实时动画\Debug\StdAfx.obj
文件 222208 2004-11-11 22:13 实时动画\Debug\vc60.idb
文件 364544 2004-11-11 22:13 实时动画\Debug\vc60.pdb
文件 122958 2004-11-11 22:13 实时动画\Debug\实时动画.exe
文件 327256 2004-11-11 22:13 实时动画\Debug\实时动画.ilk
文件 23091 2004-11-11 12:02 实时动画\Debug\实时动画.obj
文件 5495324 2004-11-11 12:01 实时动画\Debug\实时动画.pch
文件 443392 2004-11-11 22:13 实时动画\Debug\实时动画.pdb
文件 6760 2004-11-11 21:29 实时动画\Debug\实时动画.res
文件 14757 2004-11-11 12:01 实时动画\Debug\实时动画Doc.obj
文件 27125 2004-11-11 22:13 实时动画\Debug\实时动画View.obj
文件 2509 2004-11-11 11:02 实时动画\MainFrm.cpp
文件 1581 2004-11-11 11:02 实时动画\MainFrm.h
文件 4317 2004-11-11 11:02 实时动画\ReadMe.txt
目录 0 2012-01-21 21:22 实时动画\res\
文件 642 2004-11-11 11:34 实时动画\Resource.h
文件 1078 2004-11-11 11:02 实时动画\res\Toolbar.bmp
文件 1078 2004-11-11 11:02 实时动画\res\实时动画.ico
文件 400 2004-11-11 11:02 实时动画\res\实时动画.rc2
文件 1078 2004-11-11 11:02 实时动画\res\实时动画Doc.ico
文件 3049 2004-11-11 11:49 实时动画\Sphere.cpp
文件 563 2004-11-11 11:47 实时动画\Sphere.h
文件 210 2004-11-11 11:02 实时动画\StdAfx.cpp
文件 1054 2004-11-11 11:02 实时动画\StdAfx.h
文件 43316 2004-11-11 21:29 实时动画\实时动画.aps
文件 1898 2004-12-16 16:45 实时动画\实时动画.clw
文件 4161 2004-11-11 11:02 实时动画\实时动画.cpp
............此处省略11个文件信息
相关资源
- 计算机图形学 visual c++ 6.0 三维变换有
- C++画图软件GUI
- C++MFC作业彩票机-模拟双色球
- C++实现的中文分词
- VC++实现简单的用户登录系统ADO。包括
- VC++实现简单的用户登录系统,包括修
- 计算机图形学基于opengl图形变换源代
- C++中文版手册 可直接开打查看
- 图书管理系统MFC版
- 西北工业大学C/C++程序设计大作业包含
- C++实现编译原理自动机、LL1文法、及
- Visual C++数据库编程技术与光盘
- C++实现A*算法十五数码问题
- 五子棋(C++Builder)
- gtest1.6.0.zip
- window开源asn.1
- gdal-1.9.2基于vs2010已编译好的c++
- 完整的图书管理系统MFC编写
- C++木马病毒的查杀设计与实现含源码
- 改善后的C++考勤管理系统
- ARQ停止等待协议c++
- C++:面向对象程序设计陈良银 李涛
- C++并发编程实战(英文版)
- diffie-hellman密钥交换协议vc++实现
- Visual+C++开发基于SNMP的网络管理软件(
- Visual C++数字图像实用工程案例精选徐
- 标准化考试系统 C++课设
- c++并发编程实战C++11完整pdf中文版
- C++沉思录+源代码
- armadillo C++矩阵运算函数库
评论
共有 条评论