资源简介
基于vc6.0开发的绘图软件,可通过菜单选择,绘制直线 虚线 椭圆 矩形等,包含源码

代码片段和文件信息
// 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)
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 19715 2016-09-09 21:37 画板\Debug\MainFrm.obj
文件 105446 2016-09-09 21:24 画板\Debug\StdAfx.obj
文件 214016 2016-09-09 21:55 画板\Debug\vc60.idb
文件 364544 2016-09-09 21:53 画板\Debug\vc60.pdb
文件 118834 2016-09-09 21:53 画板\Debug\画板.exe
文件 325564 2016-09-09 21:53 画板\Debug\画板.ilk
文件 22538 2016-09-09 21:53 画板\Debug\画板.obj
文件 5507044 2016-09-09 21:24 画板\Debug\画板.pch
文件 484352 2016-09-09 21:53 画板\Debug\画板.pdb
文件 7248 2016-09-09 21:24 画板\Debug\画板.res
文件 14326 2016-09-09 21:24 画板\Debug\画板Doc.obj
文件 27024 2016-09-09 21:53 画板\Debug\画板View.obj
文件 1886514 2016-09-09 21:55 画板\Debug.rar
文件 2367 2016-09-09 21:37 画板\MainFrm.cpp
文件 1440 2016-09-09 21:37 画板\MainFrm.h
文件 4249 2016-09-09 21:21 画板\ReadMe.txt
文件 12768 2016-09-09 21:55 画板\Release\MainFrm.obj
文件 750 2016-09-09 21:55 画板\Release\StdAfx.obj
文件 50176 2016-09-09 22:28 画板\Release\vc60.idb
文件 32768 2016-09-09 21:55 画板\Release\画板.exe
文件 16064 2016-09-09 21:55 画板\Release\画板.obj
文件 5696040 2016-09-09 21:55 画板\Release\画板.pch
文件 7248 2016-09-09 21:55 画板\Release\画板.res
文件 9138 2016-09-09 21:55 画板\Release\画板Doc.obj
文件 15493 2016-09-09 21:55 画板\Release\画板View.obj
文件 1078 2016-09-09 21:21 画板\res\Toolbar.bmp
文件 1078 2016-09-09 21:21 画板\res\画板.ico
文件 396 2016-09-09 21:21 画板\res\画板.rc2
文件 1078 2016-09-09 21:21 画板\res\画板Doc.ico
文件 873 2016-09-09 21:24 画板\resource.h
............此处省略22个文件信息
相关资源
- 移木块游戏,可以自编自玩,vc6.0编写
- MFC数字钟(基于VC6.0)
- 安科瑞智能电能表MODBUS通讯程序 VC6
- VC6LineNumberAddin.dll
- 用VC6.0实现多边形扫描线填充算法
- VC助手 VC6.0助手
- 图形学简单绘图系统
- mfc绘图大全(画直线、矩形、椭圆)
- 信号FFT变换及绘图
- VC6.0 完整的图像处理程序 运用了大量
- High-speed Charting ControlMFC绘图控件
- VC6.0经典串口通信源程序C++
- VC6.0MFC界面美化
- 即时通讯开发源码终极版C#.NETC++都有
- VS打开VC6.0所需libcd.lib
- MFC画圆自定义|位置|半径|边界和内部
- mfc绘制任意图形,实现图形按比例缩
- 用vc++6.0实现的银行账户管理系统
- vc6.0编程助手Visual_AssistX(含破解补丁
- MFC图形编程教程,有各种绘图
- VC6.0_MFC画图demo小程序源码
- Visual_assist_X_for_VC6.0破解版.rar
- 利用openGL和C++实现光线跟踪绘图的完
- C++实现利用OpenGL实现三维绘图
- VC开发MFC局域网屏幕监控系统完美版
- VC6.0三维画图画三维球,立方体,矩形
- MFC 单文档 实现opengl 三维旋转 缩放
- MFC基于对话框GDI+简单绘图
- VC6.0获取MAC地址
- VC++ 绘图 折线图 饼图 矩形图非常全面
评论
共有 条评论