资源简介
mfc球的绘制与消隐

代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “stdafx.h“
#include “Test.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 2017-05-25 23:29 球的绘制与消隐\
文件 2505 2006-11-30 11:00 球的绘制与消隐\MainFrm.cpp
文件 1581 2006-11-30 11:00 球的绘制与消隐\MainFrm.h
文件 503 2007-03-09 11:33 球的绘制与消隐\P3D.cpp
文件 500 2007-03-09 22:09 球的绘制与消隐\P3D.h
文件 4263 2006-11-30 11:00 球的绘制与消隐\ReadMe.txt
文件 206 2006-11-30 11:00 球的绘制与消隐\StdAfx.cpp
文件 1054 2006-11-30 11:00 球的绘制与消隐\StdAfx.h
文件 1155804 2017-05-17 09:15 球的绘制与消隐\Test.aps
文件 1836 2017-05-17 09:04 球的绘制与消隐\Test.clw
文件 4230 2017-04-28 16:14 球的绘制与消隐\Test.cpp
文件 5285 2007-09-30 18:51 球的绘制与消隐\Test.dsp
文件 531 2006-11-30 11:08 球的绘制与消隐\Test.dsw
文件 1334 2006-11-30 11:00 球的绘制与消隐\Test.h
文件 500736 2017-05-17 09:04 球的绘制与消隐\Test.ncb
文件 50688 2017-05-17 09:04 球的绘制与消隐\Test.opt
文件 912 2017-05-17 09:15 球的绘制与消隐\Test.plg
文件 11286 2017-05-14 23:59 球的绘制与消隐\Test.rc
文件 1702 2006-11-30 11:00 球的绘制与消隐\TestDoc.cpp
文件 1453 2006-11-30 11:00 球的绘制与消隐\TestDoc.h
文件 8037 2017-04-28 16:26 球的绘制与消隐\TestView.cpp
文件 2796 2002-01-01 20:55 球的绘制与消隐\TestView.h
目录 0 2017-05-25 23:18 球的绘制与消隐\res\
文件 1078 2007-03-09 23:34 球的绘制与消隐\res\Diamond.ico
文件 766 2007-03-06 17:52 球的绘制与消隐\res\fr
文件 3638 2006-11-30 11:06 球的绘制与消隐\res\Help.ico
文件 1078 2006-12-01 08:47 球的绘制与消隐\res\Test.ico
文件 396 2006-11-30 11:00 球的绘制与消隐\res\Test.rc2
文件 1078 2006-11-30 11:00 球的绘制与消隐\res\TestDoc.ico
文件 30720 2007-10-27 18:35 球的绘制与消隐\res\Thumbs.db
文件 2678 2007-03-09 23:34 球的绘制与消隐\res\Toolbar.bmp
............此处省略7个文件信息
- 上一篇:立方体的绘制与消隐
- 下一篇:Qt实现的音乐播放器
相关资源
- 交互式计算机图形学 第六版 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++
评论
共有 条评论