资源简介
计算机图形学课程设计代码(运用MFC编写的)之帧动画
代码片段和文件信息
// 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 20099 2004-09-16 13:41 帧动画\Debug\MainFrm.obj
文件 105869 2004-09-16 13:41 帧动画\Debug\StdAfx.obj
文件 205824 2004-09-17 16:27 帧动画\Debug\vc60.idb
文件 364544 2004-09-17 16:27 帧动画\Debug\vc60.pdb
文件 127047 2004-09-17 16:27 帧动画\Debug\帧动画.exe
文件 376844 2004-09-17 16:27 帧动画\Debug\帧动画.ilk
文件 23067 2004-09-16 13:41 帧动画\Debug\帧动画.obj
文件 427008 2004-09-17 16:27 帧动画\Debug\帧动画.pdb
文件 13648 2004-09-17 16:26 帧动画\Debug\帧动画.res
文件 14715 2004-09-16 13:41 帧动画\Debug\帧动画Doc.obj
文件 27061 2004-09-17 16:27 帧动画\Debug\帧动画View.obj
文件 2507 2004-09-16 13:04 帧动画\MainFrm.cpp
文件 1581 2004-09-16 13:04 帧动画\MainFrm.h
文件 4283 2004-09-16 13:04 帧动画\ReadMe.txt
文件 1270 2004-09-17 16:21 帧动画\res\bitmap1.bmp
文件 1270 2004-09-17 16:21 帧动画\res\bitmap2.bmp
文件 1270 2004-09-17 16:21 帧动画\res\bitmap3.bmp
文件 1270 2004-09-17 16:25 帧动画\res\bitmap4.bmp
文件 1270 2004-09-17 16:26 帧动画\res\bitmap5.bmp
文件 1078 2004-09-16 13:04 帧动画\res\Toolbar.bmp
文件 1078 2004-09-16 13:04 帧动画\res\帧动画.ico
文件 398 2004-09-16 13:04 帧动画\res\帧动画.rc2
文件 1078 2004-09-16 13:04 帧动画\res\帧动画Doc.ico
文件 865 2004-09-16 13:41 帧动画\Resource.h
文件 208 2004-09-16 13:04 帧动画\StdAfx.cpp
文件 1054 2004-09-16 13:04 帧动画\StdAfx.h
文件 35912 2004-11-11 18:22 帧动画\帧动画.aps
文件 2271 2004-11-11 21:01 帧动画\帧动画.clw
文件 4153 2004-09-16 13:04 帧动画\帧动画.cpp
文件 4912 2004-09-16 13:45 帧动画\帧动画.dsp
............此处省略16个文件信息
- 上一篇:计算机图形学——球的光照模型算法
- 下一篇:学生签到管理系统C++版本
相关资源
- 交互式计算机图形学 第六版 OpenGL源代
- 计算机图形学走样反走样时钟
- 西北工业大学软件学院计算机图形学
- 计算机图形学实验源代码中南民族大
- 绘制任意斜率的直线段
- 计算机图形学简单CAD系统
- 计算机图形学多边形种子填充算法
- 计算机图形学 消隐
- 计算机图形学作业,中点算法画椭圆
- MFC中点圆的生成算法
- 改进的有效边表算法--计算机图形学
- 最好的CS游戏opengl、C++实现
- 计算机图形学 清华大学教材 及 vc++
- 孔令德的计算机图形学实验及课程设
- 计算机图形学大作业参考代码(VC版)
- 计算机图形学 图形变换 C++ MFC
- 用visual C++ 6.0编写的计算机图形的一些
- 计算机图形学简单多边形裁剪程序
- 计算机图形学 大作业 多功能图形学程
- MFC多边形画法--计算机图形学
- 计算机图形学 visual c++ 6.0 实时动画有
- 计算机图形学 visual c++ 6.0 三维变换有
- 计算机图形学基于opengl图形变换源代
- 计算机图形学大作业简易绘图板mfc
- 计算机图形学OPENGL 动画代码
- 计算机图形学画线、画圆、种子填充
- vc6.0实现的计算机图形学各种算法源代
- VC++的MFC计算机图形学点线多边形裁剪
- 计算机图形学源代码
- 计算机图形学作品vc++
川公网安备 51152502000135号
评论
共有 条评论