资源简介
MFC绘制曲线图,可以多条曲线同时绘制,设置曲线颜色,设置描点形状等等,内含帮助文档,功能和用法一目了然。

代码片段和文件信息
// CPlot.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CPlot.h“
#include “MainFrm.h“
#include “CPlotDoc.h“
#include “CPlotView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCPlotApp
BEGIN_MESSAGE_MAP(CCPlotApp CWinApp)
//{{AFX_MSG_MAP(CCPlotApp)
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()
/////////////////////////////////////////////////////////////////////////////
// CCPlotApp construction
CCPlotApp::CCPlotApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCPlotApp object
CCPlotApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCPlotApp initialization
BOOL CCPlotApp::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(CCPlotDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CCPlotView));
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();
return TRUE;
}
/////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 78 2018-09-06 11:05 编译问题解决方法.txt
文件 2696 2003-07-21 13:57 CPlot\CHANGELOG.txt
目录 0 2003-07-21 13:34 CPlot\CPlot Sources\
文件 21123 2003-04-08 13:15 CPlot\CPlot Sources\Axis.cpp
文件 3274 2003-03-05 09:33 CPlot\CPlot Sources\Axis.h
文件 9923 2003-04-03 14:26 CPlot\CPlot Sources\AxisSettings.cpp
文件 2262 2003-03-03 09:25 CPlot\CPlot Sources\AxisSettings.h
文件 30208 2003-04-04 15:26 CPlot\CPlot Sources\Chart.cpp
文件 15880 2003-04-04 15:14 CPlot\CPlot Sources\Chart.h
文件 3080 2003-03-05 15:20 CPlot\CPlot Sources\ChartData.cpp
文件 1682 2003-03-05 15:20 CPlot\CPlot Sources\ChartData.h
文件 3373 2003-04-04 15:49 CPlot\CPlot Sources\ColorControl.cpp
文件 2284 2003-03-03 08:57 CPlot\CPlot Sources\ColorControl.h
文件 0 2003-01-03 13:53 CPlot\CPlot Sources\ColorTables.h
文件 5023 2003-03-28 17:31 CPlot\CPlot Sources\CPlotResource.h
目录 0 2003-07-21 13:34 CPlot\CPlot Sources\CPlotResources\
文件 69712 2003-03-18 13:36 CPlot\CPlot Sources\CPlotResources\CPlotResources.aps
目录 0 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\
文件 768 2003-03-11 12:29 CPlot\CPlot Sources\CPlotResources\res\16 LEVEL.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\B-W LINEAR.bin
文件 768 2003-03-11 12:29 CPlot\CPlot Sources\CPlotResources\res\Beach.bin
文件 768 2003-03-11 12:29 CPlot\CPlot Sources\CPlotResources\res\Blue - Pastel - Red.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\Blue Waves.bin
文件 768 2003-03-11 12:29 CPlot\CPlot Sources\CPlotResources\res\BLUE-RED.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\Eos A.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\Eos B.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\GREEN-PINK.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\GRN-RED-BLU-WHT.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\Hardcandy.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\Haze.bin
文件 768 2003-03-11 12:49 CPlot\CPlot Sources\CPlotResources\res\Hue Sat Lightness 1.bin
............此处省略277个文件信息
- 上一篇:仿QQ聊天 MFC 实现
- 下一篇:CMAC(AES128)Verilog实现
相关资源
- 基于mfc的多线程文件传输
- MFC数字钟(基于VC6.0)
- VC++MFC小游戏实例教程(实例)+MFC类库
- ChartCtrl控件库(可在VS2019中使用)
- 商品库存管理系统 C++ MFC
- 漂亮的仪表盘(widget.cpp)
- mfc 调用redis
- 代码雨.cpp
- libevent(timeout.cpp)
- MFC视频播放器源码(支持avi/wma/mp3等格
- mfc绘图大全(画直线、矩形、椭圆)
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- 密码学 重合指数计算(IC.cpp)
- MFC文档_视图_框架_模板结构体系深入
- 简单员工管理系统(适合初学MFC)
- 输出n的阶乘.cpp
- opencv2 3D标定.cpp
- c 操作sqlite数据库.cpp
- 扫雷游戏.cpp
- c++爱心表白(心.cpp)
- 算法表达式求值.cpp
- 银行家算法分配资源的模拟实现(m
- 常见排序算法比较.cpp
- 无向图M着色.cpp
- 客户消费积分管理系统.cpp
- 公司人员月薪级别信息管理系统.cpp
- 俄罗斯方块.cpp
- 跑跑卡丁车.cpp
评论
共有 条评论