资源简介
MFC实现动态曲线的绘制,并支持缩放、显示图例和标题。
开发环境Visual Studio 2008和Windows 7.
代码片段和文件信息
// LineChartControlDemo.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “LineChartControlDemo.h“
#include “LineChartControlDemoDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CLineChartControlDemoApp
BEGIN_MESSAGE_MAP(CLineChartControlDemoApp CWinApp)
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
// CLineChartControlDemoApp construction
CLineChartControlDemoApp::CLineChartControlDemoApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
// The one and only CLineChartControlDemoApp object
CLineChartControlDemoApp theApp;
// CLineChartControlDemoApp initialization
BOOL CLineChartControlDemoApp::InitInstance()
{
// InitCommonControls() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise any window creation will fail.
InitCommonControls();
CWinApp::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
// 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“));
CLineChartControlDemoDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 59496 2012-08-11 18:36 LineChartControlDemo\LineChartControlDemo.aps
文件 2040 2007-11-16 11:18 LineChartControlDemo\LineChartControlDemo.cpp
文件 586 2007-11-16 11:18 LineChartControlDemo\LineChartControlDemo.h
文件 5922 2012-08-11 18:36 LineChartControlDemo\LineChartControlDemo.rc
文件 905 2012-08-11 16:00 LineChartControlDemo\LineChartControlDemo.sln
文件 6084 2012-08-10 20:28 LineChartControlDemo\LineChartControlDemo.vcproj
文件 1404 2008-08-11 15:01 LineChartControlDemo\LineChartControlDemo.vcproj.SZ.sz.user
文件 1418 2012-08-12 15:41 LineChartControlDemo\LineChartControlDemo.vcproj.YDL204-PC.Administrator.user
文件 7114 2012-08-12 15:39 LineChartControlDemo\LineChartControlDemoDlg.cpp
文件 1289 2012-08-12 09:00 LineChartControlDemo\LineChartControlDemoDlg.h
文件 2720 2012-08-10 09:33 LineChartControlDemo\MemDC.h
文件 20264 2012-08-12 15:31 LineChartControlDemo\Plot.cpp
文件 6542 2012-08-12 15:38 LineChartControlDemo\Plot.h
文件 282 2008-08-11 15:00 LineChartControlDemo\ReadMe.txt
文件 21630 2001-04-20 16:48 LineChartControlDemo\res\LineChartControlDemo.ico
文件 710 2007-11-16 11:18 LineChartControlDemo\res\LineChartControlDemo.manifest
文件 411 2007-11-16 11:18 LineChartControlDemo\res\LineChartControlDemo.rc2
文件 922 2007-11-19 20:30 LineChartControlDemo\resource.h
文件 220 2007-11-16 11:18 LineChartControlDemo\stdafx.cpp
文件 1862 2012-08-12 15:37 LineChartControlDemo\stdafx.h
目录 0 2012-08-12 15:41 LineChartControlDemo\Debug
目录 0 2012-08-12 15:39 LineChartControlDemo\Release
目录 0 2007-11-16 11:18 LineChartControlDemo\res
目录 0 2012-08-12 15:41 LineChartControlDemo
----------- --------- ---------- ----- ----
141821 24
- 上一篇:非线性Granger因果检验.zip
- 下一篇:漂亮的MFC进度条
相关资源
- 漂亮的MFC进度条
- gridctrl_demo
- 学生管理系统,mfc做的,本人课设作
- 模拟的DBMS
- MFC窗体设计
- MFC自定义列表listcontrol
- MFC利用CSOCKET实现的小小聊天室
- VC++ MFC MSCOMM VS2010 手把手学会串口收发
- MFC开发的数学公式编辑器
- mfc编写的简单聊天程序
- 传智播客MFC第三天项目
- mfc waveout播放器
- MFC 通过 URL 网络资源
- 基于MFC和OPENGL的五轴G代码仿真
- 链码 特征检测 MFC c++ 边缘提取
- MFC写的录屏代码,保存格式为AVI
- MFC 与UG开发教程与视频
- 基于MFC类库的端口扫描器设计与实现
- snmp++实现Trap接收
- vc_mbcsmfc.exe
- 面向对象的编程技术课程设计VC++_MF
- mfc画一个五角星的可以运行
- cannot open file \“mfc42ud.lib\“ 错误可该
- VC++高精度媒体定时器的使用_MFC
- MFC_酒店管理系统
- MFC 计算器源代码
- MFC 导入D3D模型文件
- 旋转的风车,使用MFC编写
- MFC用户名密码登陆对话框
- C++实现银行储蓄系统 MFC界面
评论
共有 条评论